Click here to Skip to main content
16,022,362 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have googled and seems not to find a perfect answer. Most people make use of a gridview. This is what i'm trying to achieve. I am developing a website. I have about 50 records in my database. I want to display 7 records per paga and then provide a next and back button. i dont want to make use of a gridview because that wont be okay. I want to proper pagination technique where each data will be displayed in a div. I dont known what is used for pagination is a site like this but i want to handle my pagination like this too. Will really appreciate your suggestions and codes


What I have tried:

I have the records in my databse and can pull out the records too
Posted
Updated 29-Jan-17 19:47pm

Then search something called Custom Pagination. You can write a query which will take the page number and page size and return you requested number of rows. You can just take that result and append to the div.
 
Share this answer
 
you can use this plugin, you have to make ajax call to get data from database. provide your data to this plugin and it will work.
 
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