|
-
Oct 22nd, 2007, 11:28 AM
#2
Re: using gridview and detailsview in separate page.
You've set up your hyperlink field.
BookCollection.aspx?ID={0}
Does the hyperlink render properly with correct IDs?
When you then click on the link and go to BookCollection.aspx, how are you actually getting the ID? The SelectCommand of your datasource needs to know the ID that it is supposed to be dealing with. For that, you need to use Request.QueryString(), and pass it to the SelectCommand.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|