J
juhimg
Hi,
I'm using a DataGridView with some checkboxes
(DataGridViewCheckBoxColumn). It seems that the check box is
initialized to null. I set the TrueValue, FalseValue, and
IndeterminateValue to the appropriate values (true/false). But I
haven't found any property that sets the null value to false. As a
result, I always get NULL if no action was done on the checkbox.
I need to do the following-
1. How can I make the NULL value of the DataGridViewCheckBoxColumn to
indicate false.
2. How can I set the default value of the checkbox - i.e. when the
grid is loaded with the checkbox, it should be checked.
Any pointers in this direction would really be appreciated!
Thanks,
Juhi.
I'm using a DataGridView with some checkboxes
(DataGridViewCheckBoxColumn). It seems that the check box is
initialized to null. I set the TrueValue, FalseValue, and
IndeterminateValue to the appropriate values (true/false). But I
haven't found any property that sets the null value to false. As a
result, I always get NULL if no action was done on the checkbox.
I need to do the following-
1. How can I make the NULL value of the DataGridViewCheckBoxColumn to
indicate false.
2. How can I set the default value of the checkbox - i.e. when the
grid is loaded with the checkbox, it should be checked.
Any pointers in this direction would really be appreciated!
Thanks,
Juhi.