I'm having trouble with my datagrids.
I have a datagrid where one of the columns is the data type Bool. When the datagrid is shown on the form, this column consists of checkboxes. All of this is very beautiful except the fact that the checkboxes has three states:
Not checked = false
Marked grey = NULL
Marked black = true
I can set the AllowDBNull = false, but this only brings up an error saying that NULL values are not allowed.
When I put normal checkboxes on a form there are no difficulties setting the ThreeState = false which gives the desired effect.
Are there any one out there who can help me ?
I have a datagrid where one of the columns is the data type Bool. When the datagrid is shown on the form, this column consists of checkboxes. All of this is very beautiful except the fact that the checkboxes has three states:
Not checked = false
Marked grey = NULL
Marked black = true
I can set the AllowDBNull = false, but this only brings up an error saying that NULL values are not allowed.
When I put normal checkboxes on a form there are no difficulties setting the ThreeState = false which gives the desired effect.
Are there any one out there who can help me ?