I am using the following code to see if the cells in a DataGridView row are checked and
it seems to detect some but not others being checked.
Is there a better way to do this?
Dim D4 As DataGridView = Globals.ThisAddIn.oBOTTOM.DataGridView4
Dim R4 As DataGridViewRow = Globals.ThisAddIn.oBOTTOM.DataGridView4.Rows(0)
For i = 0 To D4.ColumnCount - 1
If R4.Cells(i).Value = True Then
MsgBox("checked " & CStr(i))