zoukankan      html  css  js  c++  java
  • 多条件分页存储过程Index写法

    @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>

  • 相关阅读:
    Linux 实战
    bash 环境配置及脚本
    Linux vi/vim
    Linux 正则表达式
    001 KNN分类 最邻近算法
    测序名解
    流式细胞术
    CircRNA 环化RNA
    笔记总结
    Flume
  • 原文地址:https://www.cnblogs.com/jcy1/p/9524154.html
Copyright © 2011-2022 走看看