I need to iterate through the grid's rows and determine the boolean value for the checkbox column. This operation occurs when the user clicks on a button outside of the grid.
My attempts thus far have not returned 'true' on any rows that have the checkbox checked.
1.For x As Integer = 0 To dgvMain.RowCount - 12. 3. If DirectCast((dgvMain.Rows(x).Cells("colTag")).ColumnInfo, Telerik.WinControls.UI.GridViewCheckBoxColumn).Checked = True Then4. _mvTaggedItems &= dgvMain.Rows(x).Cells("colItem").Value & DataBASIC.VM5. End If6.Next