I have a drop down list that has a list of say 50 items, from a SQL databind.<BR><BR>The values of each item are numbers, but they don't start at 0 all the time.<BR><BR>I need a way (using vb) to make this asp.net page change the selected item. Basically, when I pass in an "id=5" I want the item with the "value=http://aspmessageboard.com/archive/index.php/5" to be the selected item when the page loads.<BR><BR>I have tried things like...<BR><BR>id_category.SelectedIndex = parameter_id_category.Value<BR><BR>or<BR><BR>id_category.SelectedItem.Value = parameter_id_category.Value<BR><BR>...but the first one is based on the first item in the list being 0, and the second one actually chages the "value=xx" line to "value=5" when what I really want is to (on the HTML side of things) add the word "selected" to the item that ALREADY has the "value=5" assigned to it.<BR><BR>Any ideas?The ListItemCollection has 2 methods that may be of interest to you...<BR><BR> 1) FindByText()<BR> 2) FindByValue()<BR><BR>Sample code...<BR><BR>MyDropDown.Items.FindByText("foo").Selected = True<BR>MyDropDown.Items.FindByValue("foo").Selected = True<b>test</b><BR><strong>test</strong><BR><b id="foo">test</b>