@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "StudentList";
}
@section scripts{
}
@Html.Position()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="RoleID"},
new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.06 },
new LinkButtonColumn { FieldName="RoleName", HeaderText="角色名称", Align=AlignStyle.Center , Handle="edit", Width=0.1 },
new BoundFieldColumn { FieldName="StudentTypeDesc", HeaderText="学生类别", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="Description", HeaderText="备注", Align=AlignStyle.Center, Width=0.1 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Role/StudentList"),
ID = "dgRoleList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})