常用方法
常用方法
常用方法
常用方法
private void DepartmentList() { List <Department> dtpList = _DepartmentManager.GetShowDepartmentDetails(); ViewBag.DpList = new SelectList(dtpList, "ID", "Name"); List <Teacher> ThpList = _TeacherManager.GetShowTeacherDetails(); ViewBag.TherList = new SelectList(ThpList, "ID", "Name"); List <CourseSetup> CrsList = _CourseManager.GetAllCourseList(""); ViewBag.SmList = new SelectList(CrsList, "ID", "Code"); List <CourseAssign> CourseAssList = _courseAssignManager.GetAllCourseAssainDetails(""); ViewBag.TeacherList = CourseAssList; }