利用JQuery方便实现基于Ajax的数据查询、排序和分页功能

作者:凯旋网络来源:凯旋网络
bsp;      <td style="width: 240px; height: 14px;" align="left">

                                <input id="Text4" type="text" name="OrderDate_End" />

                                <input id="button2" DateField="Text4" type="button" value="..." /></td>

                        </tr>

                        <tr>

                            <td style="height: 50px" align="left" colspan="4">

                                <input id="search" type="button" value="Search" /></td>

                        </tr>

                    </table>

                </td>

            </tr>

            <tr>

                <td height="99%">

                <div id="listview"></div>

                </td>

            </tr>

        </table>

     </form>


数据提供页面:


<%@ Page Language="C#" AutoEventWireup="true" Inherits="HFSoft.MVC.DataViewContext" %>

<%@ Import Namespace="NorthWind.Entities" %>

<%

    HFSoft.MVC.IDataViewContext dataview = (HFSoft.MVC.IDataViewContext)this;

 %>

<table width="100%" >

   <% if(dataview.PageCount >0){%>

    <tr>

        <td colspan="7" style="height: 20px">

        <a href="#" pageindex="0" >首页</a>

   

  • 广告推荐