1
Answer

how to count the number of radio buttons selected in asp.net

 protected void Button1_Click(object sender, EventArgs e)
    {
       
       
        if (RadioButton1.Checked)
        {
            int a = +10;
        }
        else
        {
            int a = -10;
        }
        if (RadioButton2.Checked)
        {
            int b = +10;
        }
        else
        {
            int b = -10;
        }


       




    }
}

Answers (1)