G
Guest
Hi experts,
In my application, I have a employee table containing a gender field which
has value "M", "F". I bind gender field to the "checked" property of a group
of 2 radio buttons. I hope to show radio button for Male checked when
underneath data is "M" and radio button for Female checked when data is "F".
User can also click a radio button to decide the gender for a new employee.
But radioButton.checked is a bool value! It does not take text like "M",
"F". Is it possible to change the data type of this property to take string?
Is there any other property I can use?
Thanks,
Karl
In my application, I have a employee table containing a gender field which
has value "M", "F". I bind gender field to the "checked" property of a group
of 2 radio buttons. I hope to show radio button for Male checked when
underneath data is "M" and radio button for Female checked when data is "F".
User can also click a radio button to decide the gender for a new employee.
But radioButton.checked is a bool value! It does not take text like "M",
"F". Is it possible to change the data type of this property to take string?
Is there any other property I can use?
Thanks,
Karl