LOL!! I wrote my routines because I was looking for a FindByValue type method on the dropdown itself
I didn't think to look at the ListItemCollection for one! Doh! Thanks Jim Merak > -----Original Message----- > From: Jim Arnold [mailto:[EMAIL PROTECTED]] > Sent: 29 May 2002 10:28 > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] DropDownList > > > You can also do: > > ListItem selectedItem = list.Items.FindByValue(value) > list.SelectedIndex = list.Items.IndexOf(selectedItem) > > Jim > > > -----Original Message----- > > From: Chris Anderson [mailto:[EMAIL PROTECTED]] > > Sent: 29 May 2002 10:07 > > To: [EMAIL PROTECTED] > > Subject: Re: [DOTNET] DropDownList > > > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.