Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #2K
~17.5K People Reached
About Me

Doer Of Things

Interests
Annoying people
Favorite Tags

53 Posted Topics

Member Avatar for rpjanaka

Use a scriptlet and response.SendRedirect() [url]http://java.sun.com/products/jsp/tags/11/syntaxref11.fm5.html[/url] [URL]http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse.html[/URL]

Member Avatar for Ice515
0
2K
Member Avatar for c# seeker

PostBackURL is more equivalent to Server.Transfer than Response.Redirect. It maintains ViewState and all the rest of the Page object and other State Bags. Response.Redirect simply sends a 302 to the browser. Also, PostBackURL simply sets a CLIENT-SIDE script event on a button. So it doesn't work in all situations. Server.Transfer …

Member Avatar for ghazanfar381
0
3K
Member Avatar for anjela

[CODE] <asp:SqlDataSource ID="sda_nw1" runat="server" ConnectionString='<%$ ConnectionStrings:NORTHWIND %> ' SelectCommand="SELECT orders.customerid, ContactName, count(OrderID) as numorders FROM orders join customers on orders.CustomerID=Customers.CustomerID group by orders.customerid, ContactName order by ContactName" ProviderName="System.Data.SqlClient" OldValuesParameterFormatString="original_{0}"> </asp:SqlDataSource> <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="sda_nw1" DataTextField="customerid" DataValueField="customerid"> </asp:DropDownList><br /> [/CODE]

Member Avatar for asshankar
0
703
Member Avatar for Sarah Lee

GridView supports EmptyDataRowStyle [url]http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.emptydatarowstyle.aspx[/url]

Member Avatar for egrullard
1
2K
Member Avatar for Stivi

From my application: [code] // close the page if successful update RegisterStartupScript("load", "<script type=\"text/javascript\">\n" + "self.close();\n" + "<" + "/script>"); [/code]

Member Avatar for Md.Akbar pasha
0
103
Member Avatar for cumadhu

Which can be gotten back again with one click. Make a decent application instead; save yourself work and your users hassle.

Member Avatar for data4use
0
1K
Member Avatar for nagaraj530

You use a BLOB (binary large object). [url]http://www.google.com/search?q=mysql+video+files+blob&btnG=Search&hl=en&lr=[/url]

Member Avatar for mitf08m012
0
145
Member Avatar for satees

You have a datetime. How you display it is up to you. The DateTime object supports multiple methods for displaying the date, as well as an overridden ToString that can take a format. [URL]http://msdn2.microsoft.com/en-us/library/system.datetime_methods.aspx[/URL] If for some reason you want it returned from the database as a string that is …

Member Avatar for SheSaidImaPregy
0
217
Member Avatar for Goitse

You have a current application written in Classic ASP, and you want to add to it? Where do you want the search button, and how do you want the results displayed? If you already have an ASP app set up, you can use the same connection object and just make …

Member Avatar for SheSaidImaPregy
0
489
Member Avatar for mengani123

To help get you started: [code] import java.util.*; public class Playing { public static void main(String[] args) { String ip = new String("127.0.0.1"); StringTokenizer st = new StringTokenizer(ip, "."); while (st.hasMoreTokens()) { // your code here System.out.println("token: " + st.nextToken()); } } } [/code]

Member Avatar for masijade
0
239
Member Avatar for theLord

You didn't post full enough code for me to test, so please clarify "doesn't work". Do you get an error? Did you check the javascript console (firefox) and/or turn on error messages (IE)?

Member Avatar for theLord
0
149
Member Avatar for Hellodear

Lots of ways, depending on what you're doing and what your goal is. It's called "paging". [url]http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-42,GGGL:en&q=asp+paging[/url] If you use Dreamweaver, it has a paging component built in that isn't bad for IDE generated code.

Member Avatar for Hellodear
0
99
Member Avatar for r_jack

If you are not putting your code under C:\inetpub\wwwroot, then you need to tell IIS where to look for it. You appear to have put it in a normal directory. You can either make that a virtual directory in IIS, or move the whole thing under wwwroot. I am a …

Member Avatar for nikkiH
0
182
Member Avatar for Stenane

Did you have a question (or three), or was this a job posting offer? How you connect to a DB in VB highly depends on whether you're using VB6, VB.NET 1.1 or VB.NET 2.0 and what components you're using (web form, windows form, sqldatasource, sqlconnection, etc).

Member Avatar for nikkiH
0
126
Member Avatar for r_jack

You can't just open/run an aspx page like that -- it has to go through IIS and the .NET engine. Did you install .NET Framewrok and set up IIS on your machine?

Member Avatar for nikkiH
0
87
Member Avatar for c# seeker

Which event is this code running from? Did you trace with Studio (debug)?

Member Avatar for hollystyles
0
121
Member Avatar for Moshntsane
Member Avatar for Adrien24

Why don't you post what you have so far? No one is going to code your whole assignment for you for free.

Member Avatar for iamthwee
0
122
Member Avatar for sri_Chennai
Re: help

What does your textbook say? These are pretty classic exam questions...

Member Avatar for iamthwee
0
150
Member Avatar for Lost in Code...

TO_CHAR doesn't fail on null I don't think. Try: NVL(TO_CHAR(referred), 'NOT REFERRED')

Member Avatar for nikkiH
0
298
Member Avatar for superhuman

MSDN has a nice article on the subject. [url]http://msdn2.microsoft.com/en-us/library/aa479015.aspx[/url]

Member Avatar for nikkiH
0
99
Member Avatar for Sarah Lee
Member Avatar for nikkiH
0
105
Member Avatar for pravly

You take out the relevant javascript portions and save it as a .js file, then include it like any other javascript file in your aspx source.

Member Avatar for nikkiH
0
222
Member Avatar for Hellodear

Can you clarify? You can set a form to target google search as easily as any other page using the action. This would be the same as the user going to google and typing in a search term. If you want it to only search your site, you can do …

Member Avatar for nikkiH
0
122
Member Avatar for erpasoleh

You make code to accept page number in the URL then use the links to pass the page number in the URL.

Member Avatar for Hellodear
0
88
Member Avatar for prodigy201

Are you perhaps looking for MultiView / GridView? Standard components available in .NET are the same, regardless of your language of choice.

Member Avatar for nikkiH
0
179
Member Avatar for aj_daria

That highly depends on whether you meant Windows Forms or Web forms. If you're using .net 2.0, use GridView, not DataGrid.

Member Avatar for kapil.goyal
0
121
Member Avatar for shikha.ch

[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataSqlClientSqlDataReaderClassTopic.asp[/url]

Member Avatar for shikha.ch
0
119
Member Avatar for Monyet

Using references is like adding things to classpath in java. Many things are there by default. The C# equivalent of import is "using". i.e. using System.Data; Like Java classpath and import, both a reference and a using statement are generally required for C#.

Member Avatar for nikkiH
0
89
Member Avatar for madula

Well, personally I'd start by asking my teacher for clarification if I was totally lost. That's what they're there for. Since I don't know what your teacher wants or expects, it's hard to help too much without a lot more details on the assignment.

Member Avatar for nikkiH
0
88
Member Avatar for costavo
Member Avatar for kapil.goyal
0
64
Member Avatar for Aswathy
Member Avatar for joy_vb

It's been awhile since I coded VB6, but isn't that the forecolor property in the IDE?

Member Avatar for WaltP
0
104
Member Avatar for edmicman

Unless you're stuck with someone else's DAL, that is. ;) You can write custom code to get the value, but it's a serious pain in the behind and isn't actually binding. You have to write custom code in the onItemDataBound event, I believe. If you can write your own query, …

Member Avatar for nikkiH
0
102
Member Avatar for Sarah Lee

The DateTime object has properties for month, day, year, etc. DateTime.Now is today's date. You can go from there. Note that ToString is overloaded for DateTime in order to format a date for output.

Member Avatar for Sarah Lee
0
703
Member Avatar for nekesa

Is that a text field? If not, remove the single quotes around the value. If so, check that there are no "hidden" spaces or tabs in the actual DB values.

Member Avatar for nekesa
0
201
Member Avatar for M_K_Higa

You might be accidentally calling the click before the url is actually set.

Member Avatar for M_K_Higa
0
2K
Member Avatar for msamir
Member Avatar for Richard Lelle

Are you using sqldatasource as you need to be doing for GridView to work properly, or are you trying this the "old" way with sqldataadapters, etc?

Member Avatar for nikkiH
0
264
Member Avatar for w_3rabi

Response.write is pretty old school ASP. You're using .NET now. Make a <asp:label> with no text and set its .Text property at the proper time.

Member Avatar for w_3rabi
0
108
Member Avatar for shaggysc96

Missing a where? SELECT weeklyMileage, totalMileageFROM mileage WHERE teamName=#teamName#

Member Avatar for Memento
0
112
Member Avatar for jgill

I have never managed to find a good way to debug classic ASP, and always end up with either text to a log file, or response.write all over the place for tracing.

Member Avatar for gintom
0
104
Member Avatar for blakisa
Member Avatar for ultranet

Google: captcha There are quite a few varieties for PHP. Some just plug in to existing apps, too.

Member Avatar for loopylouis
0
86
Member Avatar for DNRSmitty

Javascript is a case-sensitive language. Array is upper case A. Use new Array(). You have other errors like that. VB is not case-sensitive. Javascript is.

Member Avatar for DNRSmitty
0
64
Member Avatar for imhaf123

[COLOR=#0000ff]if[/COLOR](player1) { [COLOR=#0000ff]if[/COLOR] ( (str11 == [COLOR=#800000]"1"[/COLOR] && str12 == [COLOR=#800000]"1"[/COLOR] && str13 == [COLOR=#800000]"1"[/COLOR]) || (str21 == [COLOR=#800000]"1"[/COLOR] && str22 == [COLOR=#800000]"1"[/COLOR] && str23 == [COLOR=#800000]"1"[/COLOR]) || (str31 == [COLOR=#800000]"1"[/COLOR] && str32 == [COLOR=#800000]"1"[/COLOR] && str33 == [COLOR=#800000]"1"[/COLOR]) ) [COLOR=#008080]MessageBox[/COLOR].Show([COLOR=#800000]" You won!!!"[/COLOR],[COLOR=#800000]"winner"[/COLOR], [COLOR=#008080]MessageBoxButtons[/COLOR].OK, [COLOR=#008080]MessageBoxIcon[/COLOR].Exclamation); } Is that what you …

Member Avatar for nikkiH
0
118
Member Avatar for missnehamishra

C# runs on the web server. It would be pretty dangerous for web applications to just be able to just save files on a client machine whenever they wanted. You can either prompt the user to click a link, which then lets the user choose where to save the file, …

Member Avatar for Maidomax
0
177
Member Avatar for cancer10

Random: SQL Server: SELECT TOP 5 name FROM tblfriends ORDER BY RAND() MySQL: SELECT name FROM tblfriends ORDER BY RANDOM() LIMIT 5

Member Avatar for nikkiH
0
84
Member Avatar for stan yost

Where do you want it cut down? For display, many things such as texboxes have a way to number format data. Then there's the Format function. [url]http://www.samspublishing.com/library/content.asp?b=STY_VB6_24hours&seqNum=154&rl=1[/url] As a very last resort, you basically multiple the number by 100, truncate to int, then divide by 100. But that's VERY old …

Member Avatar for stan yost
0
159
Member Avatar for diya_deve

The End.