@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="ExaminationOpenControlID"},
new LinkButtonColumn { FieldName="ExaminationSubjectName", HeaderText="考试科目", Align=AlignStyle.Center , Handle="edit" },
new BoundFieldColumn { FieldName="StudentTypeDesc", HeaderText="学生类别", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="年级数", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="StartDate", HeaderText="报名时间起", Formatter = Formatter.OnlyYearMonthDay, Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="EndDate", HeaderText="报名时间止", Formatter = Formatter.OnlyYearMonthDay, Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="PeopleNumLimit", HeaderText="限定人数", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/ExaminationOpenControl/List"),
ID = "dgOpenControlList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})