SOCStudentList.cshtml 1020 B

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