Kevin,
I just did an simple alternate solution and i find it working
Thanks Dude for giving me new ways and ideas. +1 Rep to youCode:Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick If (DataGridView1.Columns(e.ColumnIndex).Name = "checkboxparent") Then If (e.RowIndex >= 0) Then Me.DataGridView1.Rows(e.RowIndex).Cells(1).Value = False For Each row As DataGridViewRow In Me.DataGridView1.Rows If (row.Index <> e.RowIndex) Then row.Cells("checkboxparent").Value = False End If Next End If Else If (e.RowIndex >= 0) Then Me.DataGridView1.Rows(e.RowIndex).Cells(0).Value = False End If End If End Sub![]()





Reply With Quote