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.

posted on 2008-11-08 00:14  SUNJUNLIN  阅读(269)  评论(0编辑  收藏  举报

导航