@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
Guid? ID = ViewBag.GrademinorID;
Guid? schoolyearID = ViewBag.SchoolyearID;
}
@section scripts{
}
学生列表
@Html.ContextMenuBar("Student")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" },
new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="GradeMajorName", HeaderText="年级专业", Align=AlignStyle.Center, Width=0.12 },
new BoundFieldColumn { FieldName="ClassMajorName", HeaderText="班级", Align=AlignStyle.Center, Width=0.12 },
new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.06 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/MinorSpecialty/GetStudentList?grademinorID=" + ID + "&schoolyearID=" + schoolyearID),
ID = "dgStudentList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})