I created this code to work if I select Cell in DataGridView. The problem That I faced is when I select the Row it work too(because it sonsider the cells as selected).
How can I make it doesn't work for Row only for Cells as individual ?
vb Code:
For i As Integer = 0 To Me.DataGridView1.CurrentRow.Cells.Count - 1 If Me.DataGridView1.CurrentRow.Cells(i).Selected = True Then Exit Sub Next




Reply With Quote