N
Neo
I have a field named "Male" & this is of SQL BIT data type (SQL Server).
How can i bind this field to a check box?
I noticed that this field can be NULL, 0 or 1.
But i'm having trouble binding this field to my check box.
i get an error when i try the following,
'oDataTable is the Data Table with the relevant record & having the field
"Male"
CheckBox1.DataBindings.Add("Checked", oDataTable, "Male")
Else, whats the best way to store the gender of a person - what should the
data type of the field be?
How can i bind this field to a check box?
I noticed that this field can be NULL, 0 or 1.
But i'm having trouble binding this field to my check box.
i get an error when i try the following,
'oDataTable is the Data Table with the relevant record & having the field
"Male"
CheckBox1.DataBindings.Add("Checked", oDataTable, "Male")
Else, whats the best way to store the gender of a person - what should the
data type of the field be?