private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) //combobox Select Index { if (ddl_CircularType != 'Send to Individual') //Condition { ddl_Department.Enabled = true; //i want to show this value on screen when i select this value in combobox2 } else if (ddl_CircularType !='Send to Particular Department') { ddl_Department.Enabled = true; ddl_EmployeeID.Enabled=true; ddl_EmployeeName.Enabled=true; } else if (ddl_CircularType != 'Send to All Employee') { ddl_Department.Enabled = true; ddl_EmployeeID.Enabled=true; ddl_EmployeeName.Enabled=true; } }
if (ddl_CircularType != "Send to Individual") { ddl_Department.Visible = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)