Could someone help me with this problem?
I have a dropdownlist that is bound to an objectDataSource, and the dropdownlist is populated with dates, from records obtained in the database.
But I need to have the default value of the dropdownlist as text saying PLEASE SELECT, however the populated list are dates.
I tried adding appendbounditems to true and manually adding a list item as PLEASE SELECT but it says it is not of date type.
Is there any way I can have a dropdownlist with the first one text saying PLEASE SELECT, and the remaining collection of dates obtained from the database (objectdatasource / sql query)
P.S. Know of a way to format the dates to mm-dd-yyyy ? In the SQL Database, it includes times such as 12:00 pm which I really do not need
View Complete Post