protected void ddOne_SelectedIndexChanged(object sender, EventArgs e)
{
PopulateType();
}
private void PopulateType()
{
DataSet dstype = new DataSet();
//Assign DataSet by stored procedure that is working correctly and
//DataSet has values that I want to
ddType.DataSource = dstype;
ddType.DataTextField = "Name";
ddType.DataValueField = "ID";
//I have watching values in visual studio.net and its working perfect
//using QuickWatch and breakpoints
ddType.DataBind();
}
I have to give data source and bind a dropdownList with the event of another dropdownlist ....
At code it is working good but At webpage, It is not showing the DropDownList.
...
Go to the complete details ...