OboutDropDownList - Select item in data bound drop down list
Q:
How can I select a specific item from a drop down list which is bound to a DataSourceControl (e.g. SqlDataSource)?
A:
You can use the SelectedIndex property in the Page_Load method of the page:
ddl1.SelectedIndex = someIndex;
|