How can I programmatically strip all rows in a DataGridViewCheckboxColumn in a datagridview?
I can get the correct checkbox value using
(bool)row.Cells[CheckBoxColumn.Index].FormattedValue
but this is just a getter.
I tried to set the cell value using
(bool)row.Cells[CheckBoxColumn.Index].value = false
but this does not affect FormattedValue.
How can i solve this?
source
share