private void SearchAndBind(string lblKey) { DataTable dt = B_ADZone.GetZoneName(lblKey); this.Egv.DataSource = dt; this.Egv.DataKeyNames = new string[] { "ZoneId" }; this.Egv.DataKeyNames = new string[] { "ZoneName" }; this.Egv.DataBind(); }
private void SearchAndBind(string lblKey) { DataTable dt = B_ADZone.GetZoneName(lblKey); this.Egv.DataSource = dt; this.Egv.DataKeyNames = new string[] { "ZoneId" }; this.Egv.DataKeyNames = new string[] { "ZoneName" }; this.Egv.DataBind(); }