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
while(dropdownlist1.SelectedIndex++ < dropdownlist1.Items.Count) { if (dropdownlist1.SelectedValue == textBox1.text) { // Add your logic here. } } //resetting to 0th index(optional) dropdownlist1.SelectedIndex = 0;