public ActionResult Index()
        {
            ViewBag.regNos = aEnrollCourseManager.GetAllStudentRegNo();
            ViewBag.grades = aGradeManager.GetAllGradesManager();

            return(View());
        }
Exemplo n.º 2
0
        public ActionResult Index()
        {
            ViewBag.regNos = aEnrollCourseManager.GetAllStudentRegNo();

            // ViewBag.semester = _semesterManager.GetAllSemestersManager();
            ViewBag.courses = _courseManager.GetAllCoursesManager();

            return(View());
        }
        public void GetAllStudentRegNo()
        {
            EnrollCourse _EnrollCourse = new EnrollCourse();

            _EnrollCourse.DeptCode = (DepartmentDropDownList.SelectedItem).ToString();
            StudentRegNoDropDownList.DataSource     = _EnrollCourseManager.GetAllStudentRegNo(_EnrollCourse.DeptCode);
            StudentRegNoDropDownList.DataTextField  = "StudentRegNo";
            StudentRegNoDropDownList.DataValueField = "Id";
            StudentRegNoDropDownList.DataBind();
            StudentRegNoDropDownList.Items.Insert(0, new ListItem("Select Registration No", "0"));
        }
 public ActionResult Result()
 {
     ViewBag.RegNoList = aEnrollCourseManager.GetAllStudentRegNo();
     return(View());
 }