Ejemplo n.º 1
0
        private void loadPrograms()
        {
            List <ClassABC> empList = new ClassABCServices().GetAllClassModule(new SessionManager().GetUserId(Session));

            cmbProgram.DataSource = empList;
            cmbProgram.DataBind();

            dgProgram.DataSource = new LessonService().GetAllLessonClassModule(new SessionManager().GetUserId(Session));
            dgProgram.DataBind();
        }
Ejemplo n.º 2
0
        private void LoadLookUps()
        {
            List <ClassABC> empList = new ClassABCServices().GetAllClassModule(new SessionManager().GetUserId(Session));

            cmbProgram.DataSource = empList;
            cmbProgram.DataBind();

            cmbTerms.DataSource = new LookUpService().GetAcademicTerms();
            cmbTerms.TextField  = "LValue";
            cmbTerms.ValueField = "LKey";
            cmbTerms.DataBind();

            cmbGradSystem.DataSource = new LookUpService().GetGradingSystems();
            cmbGradSystem.TextField  = "LValue";
            cmbGradSystem.ValueField = "LKey";
            cmbGradSystem.DataBind();
        }