-
January 28th, 2013, 03:48 PM
#1
Get the dataRow where the cursor is located in a sorted table
I need to get the dataRow of the current cursor location. The following code works just fine:
dRow = aisc_dbDataSet.Tables["W"].Rows[wDataGridView.CurrentRow.Index];
The problem arises when the table is sorted (by clicking at any of the headers). In that case, the dataRow that you get is the corresponding to the unsorted table. Please advise.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|