@model BasicStudents.Model.DTO.PageList<BasicStudents.Model.StudentsInfo>
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<link href="~/Content/bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet" />
<script src="~/Content/My97DatePicker/My97DatePicker/WdatePicker.js"></script>
<script src="~/Scripts/jquery-1.10.2.js"></script>
<script src="~/Scripts/jquery-form.js"></script>
<script src="~/Scripts/jquery.unobtrusive-ajax.js"></script>
<title>Index</title>
<script>
</script>
</head>
<body>
<div class="table-responsive">
<h1>管理员视图</h1>
<h3>尊敬的管理员:,欢迎您,今天是 @DateTime.Now.ToString("yyyy年MM月dd日 HH:mm dddd")</h3>
@using (Ajax.BeginForm("index1", "Students", new AjaxOptions { UpdateTargetId = "div1" }))
{
<p>
姓名: @Html.TextBox("Name")
入学时间:@Html.TextBox("Start_Time", "", new { onclick = "WdatePicker()" })
毕业时间:@Html.TextBox("End_Time", "", new { onclick = "WdatePicker()" })
年级:@Html.DropDownList("Grade_Id", "--请选择--")
<input id="Submit1" type="Submit" value="查询" onclick="Search()" />
</p>
}
</div>
<div id="div1">
@Html.Partial("StudentsList", Model)
</div>
</body>
</html>