@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
Guid? ID = ViewBag.MinorClassID;
}
@section scripts{
}
学生列表
@Html.ContextMenuBar("Student")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationEnterID" },
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("~/MinorClass/GetStudentList?minorClassID=" + ID),
ID = "dgStudentList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})