zoukankan      html  css  js  c++  java
  • AspNetPager分页使用说明

    1.下载AspNetPager.dll组件  

    2.在vs添加引用

    3.在项目中的aspx页面注册

      <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

    4.工具箱右键选择项--浏览,查找到AspNetPager.dll添加到工具箱

    5.拖拽到页面

      <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="最后一页" PrevPageText="上一页" NextPageText="下一页"            OnPageChanging="AspNetPager1_PageChanging Style="" SubmitButtonText="Go" CustomInfoHTML="当前第%CurrentPageIndex%页/共%PageCount%页|每页%PageSize%条/共%RecordCount%条" CustomInfoTextAlign="Left" ShowCustomInfoSection="Left">

    </webdiyer:AspNetPager>

    注意:如果要显示

    一定要加 ShowCustomInfoSection="Left"这个属性,负责设置了CustomInfoHTML属性也不会显示出来,这个问题我遇到了,在这里做个整理

    6.其他后台绑定我这里暂且不做整理了(待续)

  • 相关阅读:
    C#监听文件
    用bootstrapValidator来验证UEditor
    .net 在不同情况下调用带soapheader的webservice的方式
    MyBatis1
    随堂笔记2
    数学复习笔记 2018年-2019年
    药方
    随堂笔记一
    友谊藏在门背后,2
    友谊藏在门背后
  • 原文地址:https://www.cnblogs.com/yuxia/p/3371781.html
Copyright © 2011-2022 走看看