Heya guys
I have got a DataGridView that is populated with data.
What i want is when any entry in a row is clicked on the value of a specific cell in that row is selected.
How do i do this?
Thank you in advance
Frosty
Printable View
Heya guys
I have got a DataGridView that is populated with data.
What i want is when any entry in a row is clicked on the value of a specific cell in that row is selected.
How do i do this?
Thank you in advance
Frosty
Tap into the celldoubleclick event on your datagridview with the following:
Code:Private Sub x_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles x.CellDoubleClick
MsgBox(x.Rows(e.RowIndex).Cells(e.ColumnIndex).Value.ToString)
End Sub
brilliant thank you very much maslowb
Rate my post if it helped, thanks.Quote:
Originally Posted by frosty16
Already have thank you again