A
aualias
I have a DataGrid and I want the user to be able to delete rows. When the
grid is not sorted the index of the DataGrid corresponds to the row in the
DataTable that is the datasource.
However, if I sort, the DataGrid seems to be keeping track of the order.
The CurrencyManager acts as if the DataGrid is not sorted and the wrong row
gets deleted.
How can I keep track of the sorting so that I can delete the correct row?
Thanks.
David
grid is not sorted the index of the DataGrid corresponds to the row in the
DataTable that is the datasource.
However, if I sort, the DataGrid seems to be keeping track of the order.
The CurrencyManager acts as if the DataGrid is not sorted and the wrong row
gets deleted.
How can I keep track of the sorting so that I can delete the correct row?
Thanks.
David