Single Radio Button check at a time in aspx

Hello Experts,

I need to create a form with radiobuttons for various fields. How can I select Single Radio Button check at a time in aspx coding and for the checked radio button I need to write a query as I have different conditions and generate a report based on that conditions. LIKE that I need to write a query for selected radio button and get fields displayed in a gridview based on that conditions.

Can you please let me know how to do this kind of stuff as I am new to aspx.

Thanks a lot for all your help.
SrsystemanalystAsked:
Who is Participating?
 
TheNigeConnect With a Mentor Commented:
For your radio buttons, you can use the "GroupName" property.  Give the radiobuttons the same group name and you can only select one of them at a time.
0
All Courses

From novice to tech pro — start learning today.