protected void ddlState_SelectedIndexChanged(object sender, EventArgs e) { if (ddlState.SelectedIndex != 0) { objCommonClass.BindCity(ddlCity, int.Parse(ddlState.SelectedValue.ToString())); } else { ddlCity.Items.Clear(); } }