@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn { HeaderText="", FieldName="EducationMissionID" },
new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center, Width=150 },
new BoundFieldColumn { FieldName="TeacherName", HeaderText="任课教师", Align=AlignStyle.Center, OverflowLength=10, Width=80 },
new BoundFieldColumn { FieldName="CourseTimeShow", HeaderText="课时类别", Align=AlignStyle.Center, Width=60 },
new BoundFieldColumn { FieldName="date", HeaderText="上课日期", Align=AlignStyle.Center, Width=150 },
new BoundFieldColumn { FieldName="TeachingHours", HeaderText="总学时", Align=AlignStyle.Center, Width=60 },
new BoundFieldColumn { FieldName="showClassRoom", HeaderText="课室", Align=AlignStyle.Center, Width=80 }
},
IsCheckOnSelect = false,
DataSourceUrl = Url.Content("~/RetakePlan/EducationMissionList?coursematerialID=" + Request["coursematerialID"]),
ID = "dgEducationMissionList",
IsPagination = false,
IsShowRowNumbers = true,
IsSingleSelect = false
})