Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Please Please Help me Its urgent.
How to do "google like" paging in Asp.Net? You only show links to 10 first search result pages, then when I click page 10, additional 10 more pages are added to search results etc.

I have a typical search form and list of search results. There are possibly many search result pages.

Typically only the first few search result pages are interesting and but it must be possible to also see all search results.

I'd like to do something like this:

1. Initially first 10 search result pages are queried
2. If user clicks page 10, additional 10 search result pages are queried.
3. If user clicks page 20, additional 10 search result pages are again queried.

I do not want to fetch all search results in one go, and I do not want to fetch number of all search results. I just want to fetch next 10 search result pages.

I am Doing paging with dataset but it not Provide the efficient paging so i want to paging with sql stored procedure.
Please if any contain demo Please provide me.
Thanks buddy
Posted
Updated 16-Jul-11 2:36am
v2

 
Share this answer
 
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900