Hi, I have set & atached 2 datagridboolcolumns to a datagrid <- dataset;
when i fill the ds from server with data
the AllowNull, TrueValue, FalseValue dont work; i get the columns half
checked instead of checked/unchecked
from server the values are true/false
locally i set the default values to true/false;
when i build the ds locally, everything's well..
can someone help me out?
Thank you,
Daniel
Dave Hall - 30 Dec 2004 06:44 GMT
Try different combinations of these settings. I found that the String
version worked when others wouldn't.
' as String
DataGridBoolColumn1.FalseValue = "0"
DataGridBoolColumn1.TrueValue = "1"
'or as Integer
DataGridBoolColumn1.FalseValue = 0
DataGridBoolColumn1.TrueValue = 1
'or as Boolean
DataGridBoolColumn1.FalseValue = False
DataGridBoolColumn1.TrueValue = True
> Hi, I have set & atached 2 datagridboolcolumns to a datagrid <- dataset;
> when i fill the ds from server with data
[quoted text clipped - 10 lines]
> Thank you,
> Daniel