473,567 Members | 3,021 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 1985
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
7686
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...
2
3520
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...
4
1721
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...
0
3931
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
1803
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...
2
2212
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
8522
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...
3
3733
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...
2
1687
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...
0
7588
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...
0
7903
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. ...
0
8115
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...
1
7650
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...
0
6272
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...
0
5216
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3630
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1205
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
930
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.