怎么判断DATAGRIDVIEW中的CheckBox有没有勾选

如何判断DATAGRIDVIEW中的CheckBox有没有勾选?
datagridview中某一列是checkbox的,怎样判断某个cell中的checkbox有没有勾选呢?
3x~

------解决方案--------------------
If DataGridView1.Rows(i).Cells(j).Value = True then ……
------解决方案--------------------
探讨
datagridview中某一列是checkbox的,怎样判断某个cell中的checkbox有没有勾选呢?
3x~

------解决方案--------------------
For Each row As DataGridViewRow In dataGridView1.Rows
If row.Cells(x).Value = True Then
...
End If
Next

正确
------解决方案--------------------