@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="CourseVideoID"},
//new LinkButtonColumn { FieldName="GrademajorName", HeaderText="专业名称", Align=AlignStyle.Center},
//new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CourseVideoName", HeaderText="视频标题", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center , },
new BoundFieldColumn { FieldName="CreateTime", HeaderText="创建时间", Align=AlignStyle.Center,Formatter=Formatter.LongDate },
new LinkButtonColumn { HeaderText="操作", Align=AlignStyle.Center , Text="查看视频", Handle="edit" },
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/CourseWare/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsVerticalExpand = true,
IsAutoHeight = false,
PageSize = 15
})