myDropDownList.SelectedIndex = myDropDownList.Items.IndexOf(myDropDownList.Items.FindByValue(value))
It might even be easier to do this...
myDropDownList.Items.FindByValue(value).Selected = True
Friday, July 18, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment