26-10-18, 10:44 PM
جرب هذا
كود :
For Each r As DataGridViewRow In Me.DataGridView1.Rows
If r.Cells(2).Value = "محمد" Then
r.Cells(0).Value = True
End If
Next