Author: c0pe | Posted on: 9/11/2010 8:17:13 PM | Views : 261

hello
I have some dropdown list boxes that I need to fill with data from a database but I also need the first option to be "Show All"... So I need to combine using a datasource and manually adding an item to the top of the list. I have tried two different ways with no luck:
1. with the appendDataboundItems = true, on aspx page, and below code in codebehind:

//lstClass.Items.Clear();                 //lstClass.Items.Add("Show All");                 lstClass.DataSource = ...

Go to the complete details ...