473,800 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Paging MySQL Database records......ag ain

Jay
i post a while back on how to page thru database records. i dont really understand the ASPFAQ one. Its not well commented. This is how i learn anything, is if its commented on what does what.

Can someone please help me. i have a datbase of about 90 records so far, that i would like to page thru.
Thank you.

James Jones

Sep 2 '06 #1
3 1995
Jay wrote on 02 sep 2006 in microsoft.publi c.inetserver.as p.general:
i post a while back on how to page thru database records. i dont
really understand the ASPFAQ one. Its not well commented.
[..]
Can someone please help me. i have a datbase of about 90 records so
far, that i would like to page thru.
Please show us the link to the aspfaq page, we can have a look
... the ASPFAQ one. Its not well commented. This is how
i learn anything, is if its commented on what does what.
What is not "well" about it?

Hands on learning is the best. Did you try a piece of code you made
yourself? After all you managed to fill the db.
------=_Next Part_000_0062_0 1C6CE35.FF84A73 0
<!DOCTYPE HTM L PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
Please NEVER send a HTML part to usenet.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sep 2 '06 #2
Jay
sorry i didnt kno i am posting HTML to usenet..i didnt type any.......
http://databases.aspfaq.com/database...recordset.html

that is where the page is located.
Thanks
James Jones

"Evertjan." <ex************ **@interxnl.net wrote in message
news:Xn******** ************@19 4.109.133.242.. .
Jay wrote on 02 sep 2006 in microsoft.publi c.inetserver.as p.general:
>i post a while back on how to page thru database records. i dont
really understand the ASPFAQ one. Its not well commented.

[..]
>Can someone please help me. i have a datbase of about 90 records so
far, that i would like to page thru.

Please show us the link to the aspfaq page, we can have a look
>... the ASPFAQ one. Its not well commented. This is how
i learn anything, is if its commented on what does what.

What is not "well" about it?

Hands on learning is the best. Did you try a piece of code you made
yourself? After all you managed to fill the db.
>------=_Next Part_000_0062_0 1C6CE35.FF84A73 0
<!DOCTYPE HTM L PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>

Please NEVER send a HTML part to usenet.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Sep 2 '06 #3
Jay wrote on 02 sep 2006 in microsoft.publi c.inetserver.as p.general:
>
"Evertjan." <ex************ **@interxnl.net wrote in message
news:Xn******** ************@19 4.109.133.242.. .
>Jay wrote on 02 sep 2006 in microsoft.publi c.inetserver.as p.general:
>>i post a while back on how to page thru database records. i dont
really understand the ASPFAQ one. Its not well commented.

[..]
>>Can someone please help me. i have a datbase of about 90 records so
far, that i would like to page thru.

Please show us the link to the aspfaq page, we can have a look
>>... the ASPFAQ one. Its not well commented. This is how
i learn anything, is if its commented on what does what.

What is not "well" about it?

Hands on learning is the best. Did you try a piece of code you made
yourself? After all you managed to fill the db.
>>------=_Next Part_000_0062_0 1C6CE35.FF84A73 0
<!DOCTYPE HTM L PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD >

Please NEVER send a HTML part to usenet.
[please do not toppost on usenet]
sorry i didnt kno i am posting HTML to usenet..i didnt type any.......
You did send HTML as if you were using an email agent.

Topposting and HTML, they are not the best way to inroduce yourself,
methinks. Perhaps a dedicated news reader would do?

=============
http://databases.aspfaq.com/database...gh-a-recordset.
html
that is where the page is located.
That page is well documented in my opinion but is not geared for mySQL.
mySQL is, as far as I know, a LINUX database, not the primary choice for
ASP.

A general "page through SQL" line could look something like this:

[setup CONNECT as your db connection]
SQL = "SELECT * FROM myTbl ORDER BY name,age"
set mData=CONNECT.E xecute(SQL)
Do Until mData.Eof
response.write mData("name") & "<br>"
response.write mData("age") & "<br>"
mData.MoveNext
response.write "<hr>"
Loop

However, I would not know about mySQL.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sep 2 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7695
by: Wm | last post by:
I'm trying to get a handle on the best way to handle setting up my listings so that I display groups of about 25 records per page. I currently have a page that returns over 1,000 names/addresses, which is obviously not very efficient. Does anyone have any suggestions on the best way to approach this, or recommendations on what pitfalls to avoid? I'm assuming that I need to be able to count the total number of records that match the search...
2
3538
by: CharitiesOnline | last post by:
Hello, I have set this script up to add paging to a search results page. Which on the first page works fine. I calculates how many pages there should be depending on the number of results returned from my search and how many records I have set it to display per page. All great so far, HOWEVER..... When you click the next link to see the next 10 results on the next page, it just dumps the search details and pulls up all the records in the...
4
1730
by: david | last post by:
Hi I have written code in ASP for paging records from the database (SQL Server 2000). The real problem I have around 10,000 records and it tries to fetch all the records everytime (I'm saying because its take a lot time to display it). Even though, it displays all the data correctly and you can also navigate through links. Is it possible to set the limit on recordset while it fetches the data. Lets say page size is 20 records per
0
3950
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest version of this document can be found at: http://prdownloads.sourceforge.net/souptonuts/README_mysql.txt?download
6
1816
by: Shawn | last post by:
Hi. I already have a datagrid where I'm using paging. I have a stored procedure that fills a temp table with 200-500 rows and then sends back 10 records at the time. When I go to page 2 the SP fills the temp table again and returns rows 10-19. The temp table is dropped after each call to the SP, so it has to be created and filled every time the user changes page in the datagrid. My question is this: Would it be more efficient to...
2
2226
by: asad | last post by:
Hello friends, i am designing a ASP.NET page where i want to use custom paging bcoz data is too heavy so pls tell me how can i use custom paging in ASP.NET Thanks
8
8539
by: AG | last post by:
ASP.NET 2.0, VS 2005 I have a gridview with paging enabled, bound to an objectdatasource. Both were dropped on to the page and configured via the wizards. Basically working as expected. The gridview's databind method is apparently called when the page is loaded as I have no code calling the databind method. How can I keep the gridview from databinding automatically and control it myself?
3
3746
by: Ronald S. Cook | last post by:
I was told that if calling lots of records from the database (let's say 100,000), that the GridView's paging feature would automatically "handle" everything. But the 100,000 records are still coming to the client, right? I mean, the paging feature isn't somehow making calls to the database for 25 records at a time or anything like that is it? I remember in the past having to write nasty stored procedures that took in
2
1692
by: suneelid2000 | last post by:
Actually i am really confused regarding paging activity I want to implement paging in asp.net but i am not able to take out the idea regarding how to implement the concept for large databases where the tables r containing 1000s of records Problem is:I cannot save the dataset in session as it will b too costly and all the time i cannot access the database as database transasction require costly operations
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9550
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10501
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10273
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10250
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5603
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.