|
-
Mar 5th, 2001, 09:09 AM
#1
Thread Starter
Lively Member
I have a web based app that querys a MS-SQL database. Sometimes the results of the users query is very large & creates a page that is way too long.
How can I break up the results into smaller pages, kind of like you get with the popular search engines. A page list at the bottm of each page like:
Page 1 - 2 - 3 - 4 - Next>>
Thanks!!!
-
Mar 5th, 2001, 11:40 AM
#2
Well, I just use a for-next loop to display X results, and if someone clicks the next or previous arrow (or number) I just pass a parameter along and according to what value the parameter has, I display the results belonging to that page.
But I'm sure there is a shorter and more efficient way.
Marcel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|