Ejemplo n.º 1
0
        private void BindDistricts()
        {
            List <MDistrictDTO> lstdistrict = new List <MDistrictDTO>();

            lstdistrict = objITransactionBusiness.GetMDistricts();
            if (lstdistrict != null && lstdistrict.Count > 0)
            {
                ddlDistrictNames.DataSource = lstdistrict;
                ddlDistrictNames.DataBind();
                ddlDistrictNames.Items.Insert(0, "Select District");
            }
        }