List<object> objCollection = new List<object>();
foreach (DataRow dr in dt.Rows)
{
FavouriteList obj=new FavouriteList();
obj.Col1 = dr["manufacturer_name"].ToString();
objCollection.Add(obj);
}
this.DropDownList1.DataSource = objCollection;
this.DropDownList1.DataBind();objCollection.Col1 has all the data stored. I stepped thru the code and saw the values are there. but drop down list not showing those values. I am not sure how would I want to set the datasource. please help
Go to the complete details ...