@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.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/Common/DictionaryDropDown?dictionaryCode=CF_STUDENTSTATUS"), ID = "StudentStatus", Name = "StudentStatus", OnSelect = "loadGrid" }, new Dictionary { { "data-condition", "dgList" } })
  • 入学学年学期:
  • @Html.TextBox("Schoolyear")
  • 专业:
  • @Html.TextBox("StandardName")
  • @Html.Button(new ButtonOptions() { ID = "btnSearch", Text = "查 询" })
  • 学号:
  • @Html.TextBox("LoginID")
  • 姓名:
  • @Html.TextBox("Name")
}
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"}, new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center , }, new BoundFieldColumn { FieldName="SchoolyearName", HeaderText="入学学年学期", Align=AlignStyle.Center , }, new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="状态", Align=AlignStyle.Center}, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Students/List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsVerticalExpand = true, IsAutoHeight = false, PageSize = 15 })