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
e.Item.ItemIndex and e.Item.DataSetIndex
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="Scott M., post: 4262966"] See inline: As I stated in my OP, I've noticed that if no sort has been done (and therefore the DefaultView of the table in the DataSet that my DataGrid is bound to is being used), then DataSetIndex returns the correct, well, DataSet index value. Only when a sort has been done and the DataGrid is bound to a DataView does the DataSetIndex return the wrong number. So, I guess my question should be stated another way: What is the best way to retrieve the index of a row in the DataSet from a row in a sorted DataView? I understand that what you have below is better than my looping approach, but is what you have below the best way? Thanks! [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
e.Item.ItemIndex and e.Item.DataSetIndex
Top