Link to home
Start Free TrialLog in
Avatar of priya_pbk
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

Avatar of daniel_c
daniel_c

Look on this site:
http://www.asp101.com/samples/db_paging.asp

It is the best solution for your problem! :)
ASKER CERTIFIED SOLUTION
Avatar of jcs_clement
jcs_clement

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial