Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > sorting a dataGrid - how can I get the current/selected row?

Reply
Thread Tools

sorting a dataGrid - how can I get the current/selected row?

 
 
Dave
Guest
Posts: n/a
 
      06-30-2003
Hi,
I have a ASP.Net application with a DG where a user can click on a row to
obtain details regarding that row.

After sorting my DG, the current row that is clicked on is different then
the row that the DG
obtains details on.

How do I get the current row once my DG has been sorted?

TIA,
Dave




 
Reply With Quote
 
 
 
 
Saravana
Guest
Posts: n/a
 
      06-30-2003
Store the primary key in Datakeyfield while binding and retreive it while
you want to show the details. Then show the detail record based on this
primary key.


--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.


"Dave" <(E-Mail Removed)> wrote in message
news:acMLa.18128$(E-Mail Removed)...
> Hi,
> I have a ASP.Net application with a DG where a user can click on a row to
> obtain details regarding that row.
>
> After sorting my DG, the current row that is clicked on is different then
> the row that the DG
> obtains details on.
>
> How do I get the current row once my DG has been sorted?
>
> TIA,
> Dave
>
>
>
>



 
Reply With Quote
 
 
 
Reply

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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Sorting list vs sorting vector boltar2003@boltar.world C++ 2 07-06-2010 09:40 AM
fired event Sorting which wasn't handled - sorting and SelectedIndexChanged Jason ASP .Net Web Controls 0 10-04-2006 02:19 PM
[Datagrid,web form]: How the get the correct row values after sorting datagrid by header AlainCD ASP .Net Datagrid Control 0 01-12-2006 09:07 AM
sorting by multiple criterias (sub-sorting) Tom Kirchner Perl Misc 3 10-11-2003 05:16 PM



Advertisments