Dropdown List

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

I want to add a 'Please Select.....' with a blank value to a dropdown. And
then remove it once a selection is made. What is the best way to do this.
 
Chris,
You can use the Items.InsertAt and .RemoveAt methods of the control.
Peter
 
If you don't want to remove it, you can just add it to your original SQL

Select 'Please Select', 0
UNION ALL
Select fields from table
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top