Binding DropDownList with List

Gow.Net
Posted by Gow.Net under ASP.NET category on | Points: 40 | Views : 1181
List<string> name = new List<string>();
name.Add("Gowthaman");
name.Add("vimal");
name.Add("XXXX");
ddl1.DataSource = name;
ddl1.DataBind();

Comments or Responses

Login to post response