Because repeater is used, I Don't Know How To paging, so I am too lazy to writeCodeSo I found and found a bunch of stuff on the Internet.
1. Add an aspnetpage reference. read this article.ArticleHttp://www.cnblogs.com/seaven/archive/2009/03/19/1299963.html
About how to use aspnetpage (the original author's blog seems to be faulty and I cannot see his article, so I found other introductions on the Internet)
2. Add nhibmodel and write a bunch of domainmodel items.
3. Add a bunch of. Net Ajax stuff
4. Response to the pagechanged function of aspnetpager. When you click it, you can call it to update data. (Note: The aspnetpage control should be placed in updatepanel .), Updating data is re-binding repeater.
5. I have been searching for an article on the Internet for a long time on how to paging nhib.pdf
Http://blog.csdn.net/loyayol/archive/2007/09/26/1802015.aspx
In this way, the total number of records is returned, and no more session needs to be created.
This is probably the case. I think Alibaba Cloud should not scold me .. You probably know how to do this.