EducationSchedulingClassStudentList.cshtml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Common.Utility;
  4. @{
  5. ViewBag.Title = "List";
  6. Guid? educationSchedulingClassID = Request.QueryString["educationSchedulingClassID"].ParseStrTo<Guid>();
  7. }
  8. <div class="easyui-panel" data-options="border:false,fit:true" style="position:relative;">
  9. @using (Html.BeginForm())
  10. {
  11. <div class="p_title">
  12. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  13. 排课班学生列表</div>
  14. </div>
  15. <div class="search_list">
  16. @Html.DataGrid(new DataGridOptions
  17. {
  18. Columns = new List<DataGridColumn>()
  19. {
  20. new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" },
  21. new BoundFieldColumn { FieldName="LoginID", HeaderText="学生号", Align=AlignStyle.Center },
  22. new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center }
  23. },
  24. IsCheckOnSelect = true,
  25. DataSourceUrl = Url.Content("~/EducationMissionClass/EducationSchedulingClassStudentList?educationSchedulingClassID=" + educationSchedulingClassID),
  26. ID = "dgEducationSchedulingClassStudentList",
  27. IsPagination = true,
  28. IsShowRowNumbers = true,
  29. IsSingleSelect = false
  30. })
  31. </div>
  32. }
  33. </div>