@using EMIS.Web.Controls;
@using Bowin.Web.Controls.Mvc;
@{
ViewBag.Title = "Setting";
}
@section scripts{
}
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new BoundFieldColumn { FieldName="CoursesTimeName", HeaderText="节次", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Monday", HeaderText="星期一", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Tuesday", HeaderText="星期二", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Wednesday", HeaderText="星期三", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Thurday", HeaderText="星期四", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Friday", HeaderText="星期五", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Saturday", HeaderText="星期六", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Sunday", HeaderText="星期日", Align=AlignStyle.Center }
},
DataSourceUrl = Url.Content("~/EducationSchedule/GetClassroomScheduleViewList?schoolYearID=" + Request["SchoolyearID"]
+ "&classroomID=" + Request["ClassroomID"]),
IsCheckOnSelect = true,
ID = "dgClassroomScheduleViewList",
MaxHeight = 300,
IsPagination = false,
IsShowRowNumbers = true,
IsSingleSelect = false
})