页面开头注册:
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
Body中
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" Width="100%" NumericButtonCount="6"
UrlPaging="false" NumericButtonTextFormatString="[{0}]" CustomInfoHTML=" 第 <font color='red'><b>%CurrentPageIndex%</b></font> 页 共 %PageCount% 页 显示 %StartRecordIndex%-%EndRecordIndex% 条"
ShowCustomInfoSection="left" FirstPageText="首页" LastPageText="末页" NextPageText="下页"
PrevPageText="上页" Font-Names="Arial" BackColor="#F8B500" AlwaysShow="true" showinputbox="Always"
SubmitButtonText="跳转" SubmitButtonStyle="botton" OnPageChanged="AspNetPager1_PageChanged"
PageSize="13">
</webdiyer:AspNetPager>
需要引用dll文件,在csdn论坛中 AspNetPager.dll
效果: