Single Radio Button check at a time in aspx

Posted on 2007-08-10
Last Modified: 2013-11-26
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.
Question by:Srsystemanalyst
    1 Comment
    LVL 7

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
    Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
    This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
    Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now