string
datasource
dropdownlist
Dropdownlist1.DataSource = YourCSVString.Split(','); Dropdownlist1.DataBind();
string str = "msoffice,msvisualstudio,sharepoint"; DropDownList1.Items.Add("All"); foreach(string s in str.Split(',')) { DropDownList1.Items.Add(s); //Response.Write(s + "<br>"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)