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

No comments: