zoukankan      html  css  js  c++  java
  • show your data

    1.use repeater

    Code
    2.use asppager
    Code

    3.write the code.
    Code

    Code

    4.summarize one's work

    To sum up,the repeater call for the aspager 's pagination   methods.

    But we have to make sure the front desk's code is correct.Make sure your databinder.

    You  should get the total RecordCount from your database at first.then, get  startIndex from AspNetPager1.StartRecordIndex and pageSize from  AspNetPager1.PageSize;

    next,use a procedure or select
    Command SQL to get whole data.

    at last,set up to your data view control such as gridview,repeater and so on.

    Repeater_list.DataSource = ds;
    Repeater_list.DataBind();

    Above all,you must pay attention to your
    a procedure or select Command SQL.

    Enjoy it.thanks.
    作者:johnny 出处:http://www.cnblogs.com/sunjunlin 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    Tencent 闲聊对话机器人接口调用,画像:设计员小白
    logging模块简介python
    jieba分词的几种形式
    h5py这个坑-PyCharm Process finished with exit code -1073741819 (0xC0000005)
    python之six模块的用法six.py2 six.py3
    Swoole从入门到入土(8)——协程初探
    Swoole从入门到入土(7)——TCP服务器[大杂烩]
    Swoole从入门到入土(6)——TCP服务器[粘包]
    Swoole从入门到入土(5)——TCP服务器[异步任务]
    Swoole从入门到入土(4)——TCP服务器[正确重启]
  • 原文地址:https://www.cnblogs.com/sunjunlin/p/1329403.html
Copyright © 2011-2022 走看看