public void getTrustName() { ApplicationResult objResult = new ApplicationResult(); Controls objControls = new Controls(); TrustBL objTrustBl = new TrustBL(); objResult = objTrustBl.Trust_SelectAll_ForDropDown(); if (objResult != null) { if (objResult.resultDT.Rows.Count > 0) { objControls.BindDropDown_ListBox(objResult.resultDT, ddlOrgName, "TrustNameEng", "TrustMID"); } ddlOrgName.Items.Insert(0, new ListItem("--Select--", "")); } }
public void getTrustName() { ApplicationResult objResult = new ApplicationResult(); Controls objControls = new Controls(); TrustBL objTrustBL = new TrustBL(); objResult = objTrustBL.Trust_SelectAll_ForDropDown(); if (objResult != null) { objControls.BindDropDown_ListBox(objResult.resultDT, ddlTrust, "TrustNameEng", "TrustMID"); if (objResult.resultDT.Rows.Count > 0) { } ddlTrust.Items.Insert(0, new System.Web.UI.WebControls.ListItem("--Select--", "-1")); ddlSchool.Items.Insert(0, new System.Web.UI.WebControls.ListItem("--Select--", "-1")); } }