//ddlZOneCluster protected void ddlZOneCluster_SelectedIndexChanged(object sender, EventArgs e) { DataTable dt = new DataTable(); if (ddlZOneCluster.SelectedValue == "Select") { trZoneCluster.Visible = false; ddlSelectedZC.Items.Clear(); return; } else { trZoneCluster.Visible = true; lb1Zc.Text = ddlZOneCluster.SelectedValue.ToString() + "s"; } dt = advisorBranchBo.GetZoneClusterAssociation(advisorVo.advisorId); DataView dv = new DataView(dt); dv.RowFilter = "AZOC_Type='" + ddlZOneCluster.SelectedValue + "'"; //ddlSelectedZC.SelectedItem ddlSelectedZC.DataTextField = "AZOC_Name"; ddlSelectedZC.DataValueField = "AZOC_ZoneClusterId"; ddlSelectedZC.DataSource = dv; ddlSelectedZC.DataBind(); ddlSelectedZC.Items.Insert(0, "--SELECT--"); }