Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Needed: Index to a selected DataView row
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Paul, post: 4259968"] Hi, I've got a DataGrid bound to a DataView that is sorted. ("Aha!", I hear you saying.) When I go to EditMode I get the right DataRow, but I get the wrong index from e.item.itemindex (of course.) Therefore, what I'm doing pretty much sucks as the Update updates the wrong record. How do I get the index of the selected item in a DataView? I get the results I want by hardcoding the index like this: DataRow1 = DataView1.Table.Rows(10) Thanks for your help, I've been searching in Google and MSDN for days with no luck. ~P [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Needed: Index to a selected DataView row
Top