htmlpagedlist与分页,然后在mvc razor 4 asp.net中排序 [英] htmlpagedlist with paging and then sorting in mvc razor 4 asp.net

查看:80
本文介绍了htmlpagedlist与分页,然后在mvc razor 4 asp.net中排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi






i使用htmlpagedlist topagedlist,可以使用orderbydescending排序







但对于exp,如果我有240条记录的数据表



i使用htmlpagedlist,并转到第7页,它显示7页上的记录



然后,如果我按列排序,它显示第7页的记录,但排序是完整的表。



但它实际上应该只对第7页的记录进行排序..






如何在mvc razor 4(asp.net)中执行此操作...

hi


i used htmlpagedlist topagedlist , and can sort using orderbydescending



but for exp , if i have datatable with 240 records

i use htmlpagedlist ,and goto page 7 , it shows records on 7 page

then if i sort by column, it shows records on page 7, but sorting is done on whole table.

but it should actually sort on records in 7th page only..



how to do this in mvc razor 4 (asp.net) ...

推荐答案

这篇关于htmlpagedlist与分页,然后在mvc razor 4 asp.net中排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆