0

Hi,
I am trying to insert multiple radio buttons in one row. For example, I am trying to get the user to state his/her sex using radio button and update the record. But the problem is I am running into errors.

I have googled on how to insert radio buttons into grid view but many of the search results are leading to the insertion of one radio button per record. Here i want to insert multiple radio buttons into grid view. Appreciate help greatly. Thanks

Swamy

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by seger
0

>Multiple radio buttons in one record

If field type of your table is "varchar(7)" then I'd like to use,

String gender="Male";
 if(RadioButton2.Checked)
     gender="Female";
 ......
-1

what is the HTML code to insert multiple buttons in a grid view?

Edited by mahadevan.swamy: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.