Showing posts with label DropDownList. Show all posts
Showing posts with label DropDownList. Show all posts

Tuesday, September 16, 2008

Populating Second DropDownList With Another DropDownList !

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

Monday, March 10, 2008