Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 29th, 2004, 01:07 AM
Registered User
 
Join Date: Mar 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cycling through each record in ASP with MS Access

Hey guys, my first post!

I'm doing an ASP project with an MS Access database. My problem is I have one page that shows all of the records in the database. I don't want to have to create a page for each record, instead I would like to have one page cycle through all the records one at a time. On this page I would have a button that allows me to display the next record, but on the same page.

I can't find anything containing a sample code for doing this. Can you guys help me out, please?
 
Old March 29th, 2004, 02:51 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

The concept you're looking for is called paging. Take a look here for a simple example: http://www.asp101.com/articles/recor...ging/index.asp

In your case, you should set the PageSize to 1, so each page only displays one record. There are other ways to do this as well, but this article should give you a place to start.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET with MS Access help ayazhoda ASP.NET 2.0 Professional 1 April 5th, 2007 08:13 AM
Access issues with ASP and a MS Access Database rj_conceptsnrec.com Classic ASP Databases 2 May 19th, 2005 12:44 PM
ASP with MS ACCESS PHANI KISHOREKOTTAPALLI Classic ASP Components 6 May 10th, 2005 06:53 PM
MS Access & ASP [email protected] Classic ASP Databases 0 January 12th, 2005 02:49 PM
access MS-Exchange through ASP ashoo Classic ASP Basics 1 July 5th, 2004 01:58 PM





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