@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "AddCourse"; ComboGridOptions cgopStandard = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", OnSelect = "reload", Name = "StandardID", ID = "StandardID", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ }
@*
学生信息列表
*@
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "YearID", Name = "YearID", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStandardAndMinorSpecialtyCourseViewList" } })
  • 专业名称:
  • @Html.ComboGrid(cgopStandard, new Dictionary { { "data-condition", "dgStandardAndMinorSpecialtyCourseViewList" } })
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorCourseID" }, new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StarttermName", HeaderText="开课学期", Align=AlignStyle.Center }, new TextBoxColumn { FieldName="Credit", HeaderText="学分",IsRequired=true, Align=AlignStyle.Center }, new TextBoxColumn { FieldName="TheoryCourse", HeaderText="理论学时",IsRequired=true, Align=AlignStyle.Center }, new TextBoxColumn { FieldName="Practicehours", HeaderText="实践学时",IsRequired=true, Align=AlignStyle.Center }, new TextBoxColumn { FieldName="TheoryWeeklyNum", HeaderText="理论周次", Width=60 }, new TextBoxColumn { FieldName="PracticeWeeklyNum", HeaderText="实践周次", Width=60 }, new TextBoxColumn { FieldName="TrialWeeklyNum", HeaderText="实验周次", Width=60 }, new TextBoxColumn { FieldName="StartWeeklyNum", HeaderText="开始周次", IsRequired=true, Width=60 }, new TextBoxColumn { FieldName="EndWeeklyNum", HeaderText="结束周次", IsRequired=true, Width=60 }, new TextBoxColumn { FieldName="WeeklyHours", HeaderText="周学时", Width=60 }, new TextBoxColumn { FieldName="WeeklyNum", HeaderText="每周次数", Width=60 }, new BoundFieldColumn { FieldName="ResultTypeID", HeaderText="成绩类型", Align=AlignStyle.Center, Width=0.1, IsHidden=true }, new BoundFieldColumn { FieldName="SchoolyearNumID", HeaderText="开课学年", Align=AlignStyle.Center, Width=0.1, IsHidden=true }, new BoundFieldColumn { FieldName="SchoolcodeID", HeaderText="开课学期", Align=AlignStyle.Center, Width=0.1, IsHidden=true } }, IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/MinorPlanApply/StandardAndMinorSpecialtyCourseViewList"), ID = "dgStandardAndMinorSpecialtyCourseViewList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })