@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
我的信息
@Html.ContextMenuBar("List")
@*@Html.PositionBatchModify()*@
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center,Handle="edit" },
new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="ClassMajorName", HeaderText="班级名称", Align=AlignStyle.Center , },
new BoundFieldColumn { FieldName="Years", HeaderText="年级", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="GradeMajorName", HeaderText="年级专业", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Politics", HeaderText="政治面貌", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ReportStatusName", HeaderText="注册状态", Align=AlignStyle.Center}
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Students/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsAutoHeight = false,
})