|
From: JORGE MALDONADO on 17 Mar 2008 14:50 I am new to ASP.NET 2.0 and I am developing a small application which originally consists of 2 pages. The first page displays a GridView Control loaded with data from a sqlDataSouce. Such a GridView has a field that is a hyperlink to the second page which is supposed to display the detail of the record. What I want to do is to send a QueryString Parameter to the second page with the key to retrieve the record selected and show the information in detail (a long description, a picture of a product, comments, price, etc.). I have not written a single line of code (code-behind) for the first page. How can I get the second page and send the querystring parameter?
From: Bob Barrows [MVP] on 17 Mar 2008 15:10 JORGE MALDONADO wrote: > I am new to ASP.NET 2.0 There was no way for you to know it (except maybe by browsing through some of the previous questions in this newsgroup before posting yours - always a recommended practice) , but this is a classic asp newsgroup. ASP.Net bears very little resemblance to classic ASP so, while you may be lucky enough to find a dotnet-knowledgeable person here who can answer your question, you can eliminate the luck factor by posting your question to a group where those dotnet-knowledgeable people hang out. I suggest microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net. > and I am developing a small application which > originally consists of 2 pages. The first page displays a GridView > Control loaded with data from a sqlDataSouce. Such a GridView has a > field that is a hyperlink to the second page which is supposed to > display the detail of the record. What I want to do is to send a > QueryString Parameter to the second page with the key to retrieve the > record selected and show the information in detail (a long > description, a picture of a product, comments, price, etc.). I have > not written a single line of code (code-behind) for the first page. > How can I get the second page and send the querystring parameter? There are several relevant tutorials for using gridviews at msdn.microsoft.com, at least one of which will show you how to accomplish this task. -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM"
|
Pages: 1 Prev: GetRows() and hyperlinks Next: Exception when sending mail |