
页面开头注册:
<%@ 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
效果:

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/209925.html原文链接:https://javaforall.cn