I am having a hard time figuring out how to code a series of \"if\" statements that search through different dropdownlists for a specific value entered in a textbox. I was able
I would make a list of Drop-down boxes and then use linq to select on it.
List list = new List();
list.Item.Add(dropdown1);
list.Item.Add(dropdown2);
.... (etc)
var selected = from item in list.Cast()
where item.value == textBox1.text
select item;