@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "TeacherSelect"; } @section scripts{ }
@*
学生信息列表
*@
@Html.PositionCondition("StudentSelect",null)
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"}, new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, Width=0.03 }, new BoundFieldColumn { FieldName="ClassMajorName", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center, Width=0.04 } }, PageSize = 30, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/StudentDistribute/StudentList?studentDistributeID=" + ViewBag.studentDistributeID + "&GrademajorID=" + ViewBag.GrademajorID), ID = "dgStudentList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })