DropDownList2.DataSource = dt;
DropDownList2.DataValueField = dt.Columns["property_type"].ToString();
DropDownList2.DataTextField = dt.Columns["property_type"].ToString();
DropDownList2.DataBind();
-
ShriKrishna Bhardwaj , With ASP.Net, SQL Server, Javascript
This blog is created so as to help young developers, to get through some difficult problems in ASP.Net, SQL Server, Javascript, jQuery and CSS.
Showing posts with label DropDownList. Show all posts
Showing posts with label DropDownList. Show all posts
Tuesday, September 16, 2008
Monday, March 10, 2008
Adding a New Item To a DropDownList
DropDownList_Pages.Items.Insert(0, new ListItem("Select Page", "0"));
-
ShriKrishna Bhardwaj , With ASP.Net, SQL Server, Javascript
Subscribe to:
Posts (Atom)