Click here to Skip to main content
16,017,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i need to display first 10 records from database in first page ,and 2nd page another 10 page and so on .please any body having any idea ,then refer to me.


thanks in advance
chintamani
Posted

The following CodeProject article may help your requirement

Pager Control for ASP.NET[^]

If your problem is solved, you may accept and vote the solution, otherwise please post your queries


PES
 
Share this answer
 
Hi,

First, retrieve all data from database into dataset. divide all data based on page number into pages. and again make dataset with many tables with 10 records per table. it will be connection less. and when you click paging navigation based on that bind dataset.tables[pageindex] to gridview.

It will solve your problem, for any problem you can discuss with me.

With You For You Always :-)

Don't forget to mark, if it is your solution.
 
Share this answer
 

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