阅读背景:

在POCO中使用ASP.net数据控件时实现排序/页面功能

来源:互联网 

I am not a big fan of datasets so I use POCO to return data. I have achieved paging and sorting using custom methods that I create for a POCO type that work on page size and give me a set of the complete POCO collection at a time, I use methods that check for name of the DataItem clicked and sort order to do that sort. Creating such methods over and over for every POCO that you plan to use with an ASP.net data control like Gridview is pretty painful.I am not a big fan of datasets so I use POCO to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: