D
Dustin Davis
Setting up databindings for controls like textboxes and checkboxes is
pretty straightforward, but how do you set up a databound radio group?
For example, say I have source_type in my database that is an integer.
Valid values would be 1 and 2. I want to radio buttons on a form, one
for Directory and the other is Scanner. If they select Directory, the
value would be set to 1 and if they select scanner the value would be
set to 2 after updating the table adapter. How is this done?
I've thought of setting up some kind of hidden control use that to
control the radio buttons, but I was wondering if this was the best way.
Thanks,
Dustin
pretty straightforward, but how do you set up a databound radio group?
For example, say I have source_type in my database that is an integer.
Valid values would be 1 and 2. I want to radio buttons on a form, one
for Directory and the other is Scanner. If they select Directory, the
value would be set to 1 and if they select scanner the value would be
set to 2 after updating the table adapter. How is this done?
I've thought of setting up some kind of hidden control use that to
control the radio buttons, but I was wondering if this was the best way.
Thanks,
Dustin