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

Recommended Answers

All 3 Replies

>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";
 ......

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

I too have same problem ..pls.guide me inn this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.