G
Guest
I've been using dataTable.Rows[ dataGrid.CurrentRowIndex ] to retreive the DataRow for the currently selected row in the datagrid. This works fine until I click on a column header to sort the DataGrid; then the indices of the rows in the DataGrid no longer match the underlying DataTable. How do I find the correct DataRow in the DataTable from the sorted DataGrid?
Thanks in advance.
Phil.
Thanks in advance.
Phil.