Posted on: 9/26/2014 5:17:20 PM | Views : 415

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 ...