@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="ResitID"},
new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ExaminationBatchName", HeaderText="考试批次", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="考试项目", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ExaminationSubjectName", HeaderText="科目", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="SchoolAreaName", HeaderText="校区", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Year", HeaderText="年级", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CertificatesTypeName", HeaderText="证件类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center, Width=150 },
new BoundFieldColumn { FieldName="Score", HeaderText="成绩", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
new BoundFieldColumn { FieldName="Expire", HeaderText="有效期", Align=AlignStyle.Center, Formatter=Formatter.OnlyYearMonthDay }
},
IsAutoLoad = false,
DataSourceUrl = Url.Content("~/Resit/List"),
ID = "dgResitList",
IsPagination = true
})