Hardik Patel

Hardik Patel

  • NA
  • 378
  • 467.4k

i want to store integer value from radiobutton in .net?

Jul 12 2013 2:58 AM
int i ="";

            if (RadioButton1.Checked == true)
            {
                i = "1";
            }
            else if (RadioButton2.Checked = true)
            {
                i = "0";
            }

is it correct?

Answers (4)