"choose one" in a dropdownlist

  • Thread starter Thread starter Cirene
  • Start date Start date
C

Cirene

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

Thanks.
 
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.
 
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
 
Back
Top