I 've been idle for a while recently. I have summarized some asp.net paging experience and now I have written a generic paging control: AspNetAjaxPager:. I used ajax technology to achieve no refreshing pages, the ability to control the pages of all data-bound controls, I think the effect is quite good, and now I am dedicated to everyone! This control can be applied to the GridView, Repeater, DataGrid, DataList... almost all.. net data binding controls are paginated, and all data binding components can use stored procedures or SQL statements directly. this control has no interference! This control has a good user interface, can change various styles as needed, with css control effect is better!
1. paging style:
2. how to use:
Add: AspNetAjaxPager. dll reference under the bin directory
Aspx file content:
The code is as follows:
<% @ Page Language = "C #" AutoEventWireup = "true" CodeFile = "Default. aspx. cs" Inherits = "Demo. _ Default" %>
<% @ Register Namespace = "AspNetAjaxPager" TagPrefix = "ajax" Assembly = "AspNetAjaxPager" %>
AspNetAjaxPager Demo