I put a similar post for CheckBoxes,
but i want to use a Radio button & not a CheckBox
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"
RadionButton.DataBindings.Add("Checked", oDataTable, "Male")
I have 2 radio buttons, both put into a panel (so that only one can be
checked at a time).
& for the data binding, i am binding ONLY one radio button to the data
field.
Else, whats the best way to store the gender of a person - what should the
data type of the field be?