A question about datasource objects in ASP.net

When using DataSources in ASP.net applications, paging and sorting along with GridView only works out of the box when using DataSet, DataTable, DataViews if you are using anything else you need to implement methods that perform paging as well as partial data retrieval from the datasource. I dont know many design nowadays that pass around DataSets accross layers. I am a big POCO fan and I like to keep things simple specially when working with DataContracts in WCF.

Am I missing something or is it too much to expect paging and sorting working out of the box or is it guys at MS dont think its important??? Is the DataPager control the answer??

Also,I would really appreciate if someone can give me a fully functional [gridview- object data source - Paging & sorting] tutorial/link. The ones I saw online made me feel that you need to hack your way in order to make it work.


You may have already come across them, but I've found Scott Mitchell's data access tutorials very helpful in the past. Tutorials #24-27 cover paging and sorting, and he uses the ObjectDataSource.

Need Your Help

WHY does this shellcode program issue segmentation fault warning?

c assembly exploit

The code of the c program is shown below, and what it is supposed to do is running the opcode in a char array, which in turn would spawn a shell.

An issue allocating data in c

c memory allocation tail

I've got this homework, which is to make an implementation of the "tail" command in Linux and this is what i have so far: