"choose one" in a dropdownlist

C

Cirene

I have a databound drop down list. What is the easiest way to put the 1st
item as "choose one"?

Thanks.
 
G

Geek

I have a databound drop down list.  What is the easiest way to put the 1st
item as "choose one"?

Thanks.

if u did not complete it yet.set the selectedindex property to the 1.
 
C

Cirene

thanks everyone !

all great advice!

xzzy said:
another possibility is in sql server, something like

select field01, field02 from tablename union '<< Chose One>>' as aa, -1 as
bb from tablename

and then .bind in codebehind etc.

John Bickmore
www.MyReader.net
 

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

Members online

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,297
Latest member
EngineerD

Latest Threads

Top