CheckBox - True/False
Posted: 03 Aug 2009, 15:44
Hi,
new problem with the CheckBox control.
My SQL Server Table has a datacolumn which stores a boolean; values: True/False (-1/0).
The checkbox control is bound to this data field. I thought the checkbox will be checked when the value of the datafield is 'true'. But it only get the 'SelectionState' = 'checked', when the value of the data field is 1.
new problem with the CheckBox control.
My SQL Server Table has a datacolumn which stores a boolean; values: True/False (-1/0).
The checkbox control is bound to this data field. I thought the checkbox will be checked when the value of the datafield is 'true'. But it only get the 'SelectionState' = 'checked', when the value of the data field is 1.