I want to set selecteditem for asp. net dropdownlist control programmatically.
So I want to pass a value to the dropdownlist control to set the selected item where i
dropdownlist.ClearSelection(); //making sure the previous selection has been cleared dropdownlist.Items.FindByValue(value).Selected = true;