Drop Down List issue

  • Thread starter Thread starter Rob Venable
  • Start date Start date
R

Rob Venable

I've populated a drop down list from a sql query and the drop down list
(select box) looks fine. The issue is... I need to show a blank entry at
the top of the select box. In asp I would just add <option
value=""></option>. Does anyone know how to do it in .Net?

Thanks
Rob
 
Thank you,
I couldn't get it at first because I was assigning a datasource to my
dropdownlist. I've changed it to loop through the .Read() method and
added your suggestion and it works fine.

Thanks again.

Rob
 
Back
Top