This is something that has been bugging me for a while.
I have a list of categories stored in a SQL Server table. I want to bind them to a drop down list. But I also want to add one additional option to the top of the list that simply says "Include All Categories" with an index of 0.
What is the simplest way to do this? Can it be done non-programmatically in the page design?
TonyLoco23
Member
79 Points
57 Posts
How to add one additional option to the start of a databound dropdown list?
Apr 30, 2012 05:33 PM|LINK
This is something that has been bugging me for a while.
I have a list of categories stored in a SQL Server table. I want to bind them to a drop down list. But I also want to add one additional option to the top of the list that simply says "Include All Categories" with an index of 0.
What is the simplest way to do this? Can it be done non-programmatically in the page design?