@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="TrainingClassID"},
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="Name", HeaderText="培训班名", Align=AlignStyle.Center },
new LinkButtonColumn { FieldName="StudentCount", HeaderText="学生人数", Align=AlignStyle.Center, Handle="studentList" }
},
IsAutoLoad = false,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/TrainingClass/List"),
ID = "dgTrainingClassList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})