Dropdown list

  • Thread starter Thread starter Andy Sutorius
  • Start date Start date
A

Andy Sutorius

I have created a dropdown which is bound to a table. I need for the drop
down list to have a blank in the first/top slot with a value of "0" instead
of the first record of the table. In classic asp you would hard code an html
option prior to the ado looping.

Thanks

Andy
 
after databinding ,you can insert a listitem to ddl.
ddl.items.insert(0,new listitem("","0"))
 
Back
Top