@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "StudentList";
}
@section scripts{
}
@using (Html.BeginForm())
{
培训班学生列表
@Html.ContextMenuBar("Student")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn { FieldName="UserID", HeaderText="" },
new BoundFieldColumn { FieldName="SchoolAreaName", HeaderText="校区", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center,Width=0.1 },
new BoundFieldColumn { FieldName="Year", HeaderText="年级", Align=AlignStyle.Center,Width=0.08 },
new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center,Width=0.12 },
new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center,Width=0.08 },
new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center,Width=0.06 },
new BoundFieldColumn { FieldName="CertificatesTypeName", HeaderText="证件类型", Align=AlignStyle.Center,Width=0.08 },
new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center,Width=0.18 },
new BoundFieldColumn { FieldName="Mobile", HeaderText="联系方式", Align=AlignStyle.Center,Width=0.14 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/TrainingClass/StudentList?trainingClassID=" + Request["trainingClassID"]),
ID = "dgTrainingClassStudentList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})
}