I am using my custom DataTable as a DataSource to my ListView. Now, the problem i am facing is that the Paging is not working.
What i want to do is that when i click on page 1 , 2 and so on and so forth, i should be able to fetch only 10 rows at a time.
What i mean is that when the page loads i want to fetch only the first 10 rows, on clicking on 2 i want to fetch the next ten rows. But clicking back on page 1 should not execute the SQL statement again, just fetch the data from somewhere(ViewState/Cache).
What is the correct approach? How should i proceed??
NOTE: I do not want to use SQL DataSource
 
    