@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.TextBox("CourseVideoName")
  • 创建时间:
  • @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, Name = "BeginTime" })
  • 至:
  • @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, Name = "EndTime" })
  • @Html.Button(new ButtonOptions() { ID = "btnSearch", Text = "查 询" })
}
@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 })