@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "StudentList";
}
@section scripts{
}
缓考信息
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSuspensionID" },
new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, OverflowLength=15, Width = 0.1 },
new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width = 0.06 },
new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center,Width=0.2 },
new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center,Width=0.1 },
new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center,Width=0.1 },
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=20,Width=0.2 },
new BoundFieldColumn { FieldName="ExamsCategoryName", HeaderText="考试性质", Align=AlignStyle.Center,Width=0.08 },
new BoundFieldColumn { FieldName="CreateTime", HeaderText="申请日期", Formatter=Formatter.CHSOnlyYearMonthDay, Align=AlignStyle.Center,Width=0.1 },
new ApproveStatusColumn { FieldName="RecordStatusName", TableName=typeof(EMIS.Entities.ER_ExaminationSuspension).Name,
IDFieldName="ExaminationSuspensionID", HeaderText="状态", Align=AlignStyle.Center, Width=0.06 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/ExaminationSuspension/StudentList"),
ID = "dgExaminationSuspensionList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})