@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
选修课程列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new BoundFieldColumn { FieldName="SchoolYearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.06 },
//new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=18, Width=0.14 },
//new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03 },
//new BoundFieldColumn { FieldName="DefaultClassName", HeaderText="课程班级", Align=AlignStyle.Center, OverflowLength=20, Width=0.16 },
//new BoundFieldColumn { FieldName="SelectCourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, OverflowLength=12, Width=0.1 },
//new BoundFieldColumn { FieldName="PeopleNumlimit", HeaderText="人数上限", Align=AlignStyle.Center, Width=0.06 },
//new BoundFieldColumn { FieldName="StudentCount", HeaderText="已选人数", Align=AlignStyle.Center, Width=0.06 },
//new BoundFieldColumn { FieldName="TeacherNames", HeaderText="任课教师", Align=AlignStyle.Center, Width=0.12 },
//new BoundFieldColumn { FieldName="IsNeedMaterialName", HeaderText="是否需要教材", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="", HeaderText="教材名称", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="WeeklyNum", HeaderText="周次", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="CoursesTimeName", HeaderText="上课时间", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="ClassroomName", HeaderText="上课教室", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="CampusName", HeaderText="校区", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="", HeaderText="报修时间", Align=AlignStyle.Center }
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="SelectCourseTypeName", HeaderText="选修类型", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03 },
new BoundFieldColumn { FieldName="StartEndWeeklyNum", HeaderText="起止周次", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="WeekdayTimesSegmentName", HeaderText="上课时间", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="TeacherNames", HeaderText="任课教师", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="ClassroomName", HeaderText="上课教室", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="RecordStatusName", HeaderText="状态", Align=AlignStyle.Center, Width=0.04 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/StudentSelectCourse/SelectedList"),
ID = "dgStudentSelectCourseList",
IsPagination = false,
IsShowRowNumbers = true,
IsSingleSelect = false
})