priya_pbk
asked on
Paging a recordset thru display of numbers(Prev 1 2 3...Next)and so on
hello
I am working on an ASP page, which fetches say 100 records from a recordset. I would like to show 10 records at a time. I want to display it in the following manner
eg:
***********************
Oracle
Vb
Vjava
Java
HTML
and so on
Prev 1 2 3 4 5 6 7 8 9 10 Next(all are hyperlinks)
So when the user clicks on 1 it will show the first 10, when he clicks on 10 the last 10 and henceforth.
I have done the same thru command buttons on the form having first,Next, Prev, Last.
Anybody who can help
Thanks and Regards
Priya
I am working on an ASP page, which fetches say 100 records from a recordset. I would like to show 10 records at a time. I want to display it in the following manner
eg:
***********************
Oracle
Vb
Vjava
Java
HTML
and so on
Prev 1 2 3 4 5 6 7 8 9 10 Next(all are hyperlinks)
So when the user clicks on 1 it will show the first 10, when he clicks on 10 the last 10 and henceforth.
I have done the same thru command buttons on the form having first,Next, Prev, Last.
Anybody who can help
Thanks and Regards
Priya
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.asp101.com/samples/db_paging.asp
It is the best solution for your problem! :)