I am making databases and one of columns is bit(checked or not). an want to sum all the checked ones number field.how to find If is checked or not?
Dim sum As Single = 0.0
For i = 0 To Table1DataGridView.RowCount - 1
sum += Table1DataGridView.Rows(i).Cells(4).Value()
this is just how to sum but I want to sum if field is checked. please help :(