分页的listview控件 [英] listview control with paging
本文介绍了分页的listview控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用ASP.NET的Listview.我有一个包含100条记录的数据库,并且我想根据页面大小来检索数据库记录.例如,我的页面大小是10,我只想从数据库中检索0-9个记录.有人可以指出我正确的方向吗?
谢谢.
Hi,
I am working on listview for ASP.NET. I have a database with 100 records, and I want to retrive the database records based on the page size. For example, my page size is 10 I want to retrive 0-9 records only from the database. Can someone point me in the right direction?
Thank you.
推荐答案
此处是有关Code Project的文章,该文章将向您展示如何执行此操作: ^ ]
Here is an article on Code Project that will show you how to do it: Pager Control for ASP.NET[^]
这篇关于分页的listview控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文