Exemplo n.º 1
0
        private void GetEditProgramType(string procTypeID)
        {
            using (AdministratorBLL adminBll = new AdministratorBLL())
            {
                this.dtbProgramType = adminBll.GetProgramType(procTypeID);
            }

            if (this.dtbProgramType != null)
            {
                this.grdProgramType.DataSource = this.dtbProgramType;
                this.dntProgramType.DataSource = this.dtbProgramType;
            }
        }
Exemplo n.º 2
0
        private void GetProgramTypeList()
        {
            using (AdministratorBLL adminBll = new AdministratorBLL())
            {
                this.dtbProgramType = adminBll.GetProgramType(string.Empty);
            }

            if (this.dtbProgramType != null)
            {
                this.grdProgramType.DataSource = this.dtbProgramType;
                this.dntProgramType.DataSource = this.dtbProgramType;
            }
        }