本文介绍了如何在客户端给分页到gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我遇到了一个问题,我将所有记录绑定到grid.i需要分页到grid客户端.
在此先感谢


i faced the one problem,i bind the all records to grid.i need paging to grid client side.
thanks in advance

推荐答案

<asp:gridview id="GridView1" runat="server" autogeneratecolumns="False" font-bold="False" font-names="Tahoma" font-size="11px" forecolor="#4C4C4C" xmlns:asp="#unknown">
        PageSize="14"  TabIndex="16" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" >


AllowPaging="True"


AllowPaging="True"

protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{

 //write code 

}


<asp:GridView ID="GridView1″ DataSourceID="TitlesSource" EnableSortingAndPagingCallbacks="true"

AllowPaging="true" PageSize="10" runat="Server" />



这篇关于如何在客户端给分页到gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 14:45