GroupStudentList.cshtml 1.0 KB

123456789101112131415161718192021222324252627
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "GroupStudentList";
  5. }
  6. <div class="search_list">
  7. <form id="formQuery" method="post">
  8. @Html.Hidden("hidSOCDetailGroupID", Request["socDetailGroupID"], new Dictionary<string, object> { { "data-condition", "dgSOCDetailGroupStudentList" } })
  9. </form>
  10. @Html.DataGrid(new DataGridOptions
  11. {
  12. Columns = new List<DataGridColumn>()
  13. {
  14. new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center },
  15. new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
  16. new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="所在班级", Align=AlignStyle.Center }
  17. },
  18. IsCheckOnSelect = true,
  19. DataSourceUrl = Url.Content("~/SOCDetailScore/GroupStudentList"),
  20. ID = "dgSOCDetailGroupStudentList",
  21. IsPagination = true,
  22. IsShowRowNumbers = true,
  23. IsSingleSelect = false
  24. })
  25. </div>