@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="ExaminationSubjectCountLimitID"},
new LinkButtonColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center , Handle="edit" },
new BoundFieldColumn { FieldName="FacultymajorName", HeaderText="院系专业", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="FacultymajorID", HeaderText="院系专业", Align=AlignStyle.Center,IsHidden=true },
new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="年级数", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Years", HeaderText="年级数", Align=AlignStyle.Center,IsHidden=true },
new BoundFieldColumn { FieldName="SubjectCountLimit", HeaderText="报名门数", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/ExaminationSubjectCountLimit/List"),
ID = "dgSubjectCountLimitList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})