@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn { FieldName="UserID" },
new BoundFieldColumn { FieldName="LoginID", HeaderText="学生号", Align=AlignStyle.Center, Width=0.055},
new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.03 },
new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, Width=0.02 },
new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.055 },
new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="学籍班名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=15 },
new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center, Width=0.02 },
new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.02 },
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/ExaminationPlan/GetExaminationPlanStudentList?examinationPlanID=" + Request["ExaminationPlanID"]),
IsPostBack = true,
ID = "dgStudentList",
IsPagination = false,
IsShowRowNumbers = true,
IsSingleSelect = false,
MaxHeight = 490,
})
|