@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.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center , },
new BoundFieldColumn { FieldName="SchoolyearName", HeaderText="入学学年学期", Align=AlignStyle.Center , },
new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="状态", Align=AlignStyle.Center},
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Students/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsVerticalExpand = true,
IsAutoHeight = false,
PageSize = 15
})