Hi i am trying to check whether my RadioButton is checked or not in a method.If checked execute some code else execute another code.
RadioButton
But when i debug it I am getting this error
I have gone through many links but not able to correct it.
Below is my .aspx.cs code
if (rb1.Checked == true)