if (dropdown.Items.Contains(customerid)) dropdown.SelectedIndex =
dropdown.Items.IndexOf(customerid);

Paul Jefferies
Adastra Software Ltd
www.adastra.co.uk

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