Hi,I has a problem here...
I has a datagridview and now I would like to determine that whether column1 in row 1 is selected by the user.What should I write to do so?
Code:Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick If (DataGridView1.Rows(1).Cells(1).Selected) Then MessageBox.Show("") End If End Sub




Reply With Quote