When using DataSources in ASP.net applications, paging and sorting with GridView only works when using DataSet, DataTable, DataViews, if you use something else that you need to implement methods that perform paging, as well as partial data extraction from a data source . Currently, I donβt know much of the design that goes through the DataSets in layers. I am a big fan of POCO and I like the simplicity of things, especially when working with DataContracts in WCF.
Am I missing something or expecting too much that swapping and sorting will work out of the box or does the guys from MS not consider it important ??? Does the DataPager respond?
Also, I would really appreciate it if someone could give me a fully functional [gridview-object data source - Paging and sorting] tutorial / link. The ones I saw on the Internet made me feel like you had to hack your way to make it work.
source
share