I want to select the content of a cell of the data grid view, actually i got the code as follows
but it works only when i click on the text of that cell and not on the area at the side of the text.
Code:
Dim a, b As Integer
a = e.RowIndex
b = e.ColumnIndex
MsgBox(a & b)
MsgBox( showsearch.SelectedRows(0).Cells(0).Value)
Comment