A
atlewis
Hi,
I'm trying to grab a string of the value in the first column of a
DataGridView object on the selected row. What's the easiest way to go
about that?
I'm building part of a SQL statement inside a loop:
strSQL &= Str(myGrid.SelectedRow(ColumnIndex)) & "," &
Str(dgvResults.Item(1, i)) & "," & Str(Now) & ")"
Obviously, there's no "myGrid.SelectedRow(ColumnIndex)" function.
There's SelectedRows(Index), but that's for something else. What
should I use?
Thanks,
Andy
I'm trying to grab a string of the value in the first column of a
DataGridView object on the selected row. What's the easiest way to go
about that?
I'm building part of a SQL statement inside a loop:
strSQL &= Str(myGrid.SelectedRow(ColumnIndex)) & "," &
Str(dgvResults.Item(1, i)) & "," & Str(Now) & ")"
Obviously, there's no "myGrid.SelectedRow(ColumnIndex)" function.
There's SelectedRows(Index), but that's for something else. What
should I use?
Thanks,
Andy