Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Question about GridView selected item

Thread Tools

Question about GridView selected item

Posts: n/a
I'm trying to figure out how to set up a page with 2 datagrids on it (ASP.NET
1.1). The first one will show a list of people. The second will show a list
of training requirements for the person selected in the first grid. My
problem is that I can't seem to figure out the correct way to pull the key
information I need in order to create the query for the second grid.

It seems like I should be using the SelectedIndexChanged event of the first
grid to set up the second one (although I'll also need to populate the second
one at page load as well). I'm just not sure how to get the key data from
the selected item. Any help would be appreciated, thanks!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
need help to fill textboxes from a selected item in datagrid-selected index changed. mldardy ASP .Net 0 09-28-2010 02:59 PM
How to get values from selected item in a gridview Julia B ASP .Net 0 10-08-2008 02:08 PM
display the selected item at the top in a gridview Robert Smith ASP .Net 1 03-09-2008 02:46 PM
DropDownList 2 always returns Selected = 0 for all items - even selected item Iain ASP .Net 3 12-11-2006 11:07 AM
Gridview, make selected item visible Dst ASP .Net 0 08-16-2006 10:45 AM