DataGrid sorting
Database
1
Posts
1
Posters
0
Views
1
Watching
-
a dataGrid.SelectedRowIndex gives information about the selected row from the grid which corresponds to the same row in the table that the grid is bound to. this is only true if data on the dataGrid is sorted as this of the sourceTable, ...how can i find the correct RowIndex if the user sorts the grid in a different way then select any row (in this case the SelectedRowIndex will not match the one in the sourceTable form the dataSet). if there is a way to figure this out, or work around ... please tell me. thanx