@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="EducationMissionClassID"},
new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="GrademajorName", HeaderText="年级专业", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/TeachingPlan/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsVerticalExpand = true,
IsAutoHeight = false,
PageSize = 15
})