I need to get the dataRow where the cursor is located. The following code works fine:
dRow = aisc_dbDataSet.Tables["W"].Rows[wDataGridView.CurrentRow.Index];
The problem arises when the dataTable is sorted. In that case what I get is the dataRow corresponding to the unsorted table. Please advise.