What would be the best way to add "Please Choose" to a data bound DropDown?

  • Thread starter Thread starter Max2006
  • Start date Start date
M

Max2006

Hi,

I have a DropDown bound to a DataTable and I would like to add "Please
Choose" as the 1st default item. I know that I can add "Please Choose" to
the DataTable; but I wonder if I do the same without manipulating the
DataTable.

Thanks,
Max
 
if you're using ASP.Net 2.0, just change the 'AppendDataBoundItems' property
to 'True', then, in the Items property (or in the tag), add the list item
you need.
 
Back
Top