コード例 #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;
            }
        }
コード例 #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;
            }
        }