string[] standardToolBoxArray = new string[5] { "String1", "String2", "String3", "String4", "String5" }; DropDownList1.DataSource = standardToolBoxArray; DropDownList1.DataBind();
string[] Months = new string[MyArray1.Items.Count]{}; int i = 0; foreach(var date in MyArray1){ Month[i] = (Convert.ToDateTime(date)).ToString("MMMM"); i++; } DropDownList1.DataSource = Months; DropDownList1.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)