if (sexch.Checked == true) { ch.Text = "male"; } else if (sexch.Checked == false) { ch.Text = "Female"; }
if (sexch.Checked == true) { ch.Text = "male"; } if (sexch.Checked == false) { ch.Text = "Female"; }
if (sexch.Checked == true) { ch.Text = "Male"; } else { ch.Text = "Female"; }
ch.Text = sexch.Checked ? "Male" : "Female";
sexch.Checked = database_value;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)