@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSubjectID"},
new LinkButtonColumn { FieldName="Name", HeaderText="考试科目", Align=AlignStyle.Center , Handle="edit" },
//new BoundFieldColumn { FieldName="ExaminationDate", HeaderText="考试日期", Formatter= Formatter.CHSOnlyYearMonthDay, Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ExaminationFormName", HeaderText="考试性质", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="ExaminationTypeID", HeaderText="考试类型", Align=AlignStyle.Center, IsHidden=true },
//new BoundFieldColumn { FieldName="ExaminationFormID", HeaderText="考试类别", Align=AlignStyle.Center, IsHidden=true },
//new BoundFieldColumn { FieldName="PeopleNumLimit", HeaderText="最大报名人数", Align=AlignStyle.Center },
//new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="考试学年学期", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/ExaminationSubjects/List"),
ID = "dgExaminationSubjectList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})