@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="FacultymajorID"},
new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="EducationName", HeaderText="培养层次", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Align=AlignStyle.Center , },
new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center},
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Grademajor/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsVerticalExpand = true,
IsAutoHeight = false,
PageSize = 15
})