@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("CollegeName")
  • 专业:
  • @Html.TextBox("StandardName")
  • 培养层次:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/Common/DictionaryDropDown?dictionaryCode=CF_Education"), ID = "EducationID", Name = "EducationID", OnSelect = "loadGrid" }, new Dictionary { { "data-condition", "dgList" } })
  • 学习形式:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/Common/DictionaryDropDown?dictionaryCode=CF_Learningform"), ID = "LearningformID", Name = "LearningformID", OnSelect = "loadGrid" }, new Dictionary { { "data-condition", "dgList" } })
  • @Html.Button(new ButtonOptions() { ID = "btnSearch", Text = "查 询" })
}
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="FacultymajorID"}, new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="EducationName", HeaderText="培养层次", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Align=AlignStyle.Center , }, new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center}, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsVerticalExpand = true, IsAutoHeight = false, PageSize = 15 })