Hello.
This is what I want to do:
On DataGrid double click, I want to return the value of the 1st cell from the selected row. I've done this code but it doesn't work very well.
Thank you.Code:Private Sub DataGridView1_CellContentDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentDoubleClick Me.TextArtigo.Text = Me.DataGridView1.Item(e.ColumnIndex, 1).Value End Sub




Reply With Quote