Hi and thanks for taking a moment. I need to know how to restrict the availability of a dropdown value from a dropdown list control. I want to do something like what is below, however in c# this is invalid. All of the original values for the dropdown list control are populated from a database. I need to filter them at the code level now. Any help greatly appreciated.
if (lblDept.Text == "Quality Assurance" || lblDept.Text == "Information Technology")
ddlComplaintstatus.Items.Visible = false;