Continuing --- How to DoubleClick Datagrid and get cell data
I understand that doubleclick is not always relaible.. I am just trying to get cell data from a datagrid when I click or double click on a line. I can get the row and cell number ... but how do I get the data reporsented on that row?
With this...
Private Sub DataGrid1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.DoubleClick
Dim dgds As Object = DataGrid1.DataSource.ToString
Dim currentrow As Integer
currentrow = Me.DataGrid1.CurrentRowIndex
Me.DataGrid1.Select(currentrow)
End Sub
I return the proper row.. Now ... How do I get the cell data ...
I need the information in cell 1 as a key to my record retreival.