protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
if (String.Compare(DropDownList1.SelectedValue, "Yes", true) == 0)
{
DropDownList2.Enabled = true;
DropDownList3.Enabled = false;
}
else
{
DropDownList2.Enabled = false;
DropDownList3.Enabled = true;
}
}
|