Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 14th, 2003, 06:50 AM
Registered User
Join Date: Sep 2003
Location: Worcester, , United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Splitting a list of asp pages


Hope I've come to the right place....

I want to be able to display the results of a search, but I want to limit the number of returned results to 10 per page.

Im sure this must be quite easy code to write, but Im fairly new to VBScript and ASP, and would appreciate any pointers in the right direction

Ta very muchly
Mark Taylor

Reply With Quote
  #2 (permalink)  
Old October 14th, 2003, 07:11 AM
Authorized User
Join Date: Sep 2003
Location: Trivandrum, Kerala, India.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to balakumar1000

Put the logic in your stored procedure so that that will return only that many records to your page.

from stored procedure, you can get how many pages the result will be. This info will be used to display the next and previous links.

send page number and noof records as input parameters to your SP.

Balakumar V.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble splitting a list to a resultset? Peso SQL Server 2000 4 May 30th, 2006 10:58 AM
asp pages corazon Classic ASP Basics 2 March 7th, 2005 06:16 PM
Passing values between Asp to Asp pages. jayaraj ASP.NET 1.0 and 1.1 Professional 3 May 23rd, 2004 06:53 AM
Varibles between asp.net and Asp Pages koneruvijay VS.NET 2002/2003 1 February 23rd, 2004 04:32 AM

All times are GMT -4. The time now is 08:10 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.