> drp1.SelectedValue = drp1.Items.FindByText(lblEdit.Text)
drp1.Items.FindByText(lblEdit.Text).Selected = True
Not particularly robust, though, as this will throw an exception if the item
in question can't be found...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
rodchar - 05 Nov 2007 19:30 GMT
thanks for the help.
rod.
> > drp1.SelectedValue = drp1.Items.FindByText(lblEdit.Text)
>
> drp1.Items.FindByText(lblEdit.Text).Selected = True
>
> Not particularly robust, though, as this will throw an exception if the item
> in question can't be found...