12
Answers

I have a doubt in checkbox field

Ask a question
I used only one check box, if i marked tat chechbox mean it ll display yes otherwise display no.pls help me....

{


if (CheckBox1.Checked !=null)
{
(CheckBox1.Text);

CheckBox1.Text = "yes";optselect = CheckBox1.Checked.ToString();


optselect = CheckBox1.Text = "yes";

}



else

{
 CheckBox1.Text = "no";


}




Answers (12)