@using Bowin.Web.Controls.Mvc; @using EMISOnline.Entities; @using EMISOnline.Web.Controls; @{ ViewBag.Title = "List"; }
@Html.Position()
查询条件
@using (Html.BeginForm("", "", FormMethod.Post, new { id = "fm" })) {
  • 院系代码:
  • @Html.TextBox("CollegeNo")
  • 院系名称:
  • @Html.TextBox("CollegeName")
  • @Html.Button(new ButtonOptions() { ID = "btnSearch", Text = "查 询" })
} @*
学生信息
*@
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="CollegeID"}, new BoundFieldColumn { FieldName="No", HeaderText="院系代码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="院系名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SimpleName", HeaderText="院系简称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CampusName", HeaderText="所属校区", Align=AlignStyle.Center } //new BoundFieldColumn { FieldName="CreateTime", HeaderText="建立时间", Align=AlignStyle.Center,Formatter=Formatter.LongDate }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsVerticalExpand = true, IsAutoHeight = false, PageSize = 15 })