Funny that...exactly what I was doing firstoff yesterday!!!

hehe

Wayne Lee
This email has been scanned with Norton AntiVirus 2002


-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Chris Anderson
Sent: 29 May 2002 10:41
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] DropDownList


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.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to