@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "SubjectViewSelect"; } @section scripts{ }
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSubjectID"}, new BoundFieldColumn { FieldName="ExaminationSubjectName", HeaderText="科目名称", Align=AlignStyle.Center, Width=0.08 }, new TextBoxColumn { FieldName="ResitCount", HeaderText="可补考次数", Align=AlignStyle.Center, Width=0.04 }, }, IsCheckOnSelect = true, IsAutoLoad = false, DataSourceUrl = Url.Content("~/ChargeProject/SubjectList"), ID = "dgProjectList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsAutoHeight = false, })