ronnetp
Programmer
- Apr 8, 2002
- 71
I have the following code to get the value of the row selected by the user on the Datagrid double click event, it works fine, but I have a problem when the user sorts the grid to something different than the default sort.
Any Advice will be much appreciated.
Dim s As String
Dim line As Integer
line = profilegrid.CurrentRowIndex
s = CType(ds.Tables("bettormain"
.Rows(line).Item("PIN"
, String)
MsgBox(s)
Any Advice will be much appreciated.
Dim s As String
Dim line As Integer
line = profilegrid.CurrentRowIndex
s = CType(ds.Tables("bettormain"
MsgBox(s)