selectedIndexChanged
protected void ddlCountry_SelectedIndexChanged(object sender, EventArgs e) { IList<State> states = GetStateList(GetCountryList()[((DropDownList)sender).SelectedIndex]); ddlStates.DataSource = states; ddlStates.DataBind(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)