473,323 Members | 1,551 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Speeding Up A Page

I have a query that returns a resultset rather fast, but when I go through
the loop to write it out to the page I get a slow display. Is there a way
to speed this up?
Jul 19 '05 #1
5 1577
Show code....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"joethis" <jo*****@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
I have a query that returns a resultset rather fast, but when I go
through
the loop to write it out to the page I get a slow display. Is there a
way
to speed this up?

Jul 19 '05 #2


"Curt_C [MVP]" wrote:
Show code....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"joethis" <jo*****@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
I have a query that returns a resultset rather fast, but when I go
through
the loop to write it out to the page I get a slow display. Is there a
way
to speed this up?

do while not rs.EOF

Response.Write rs("col_name")
rs.MoveNext()
loop
Jul 19 '05 #3
>> "joethis" <jo*****@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
I have a query that returns a resultset rather fast, but when I
go through
the loop to write it out to the page I get a slow display. Is
there a way
to speed this up?

do while not rs.EOF

Response.Write rs("col_name")
rs.MoveNext()
loop

http://www.aspfaq.com/show.asp?id=2467

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #4
Also sometimes the problem is that if you dump thousands of line, the task
is done quickly server side but the network has quite a huge job to transfer
the page.

You may want to check the size of the page to see if its small enough...

Patrice

--

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> a écrit dans le message de
news:Or**************@TK2MSFTNGP09.phx.gbl...
"joethis" <jo*****@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
I have a query that returns a resultset rather fast, but when I
go through
the loop to write it out to the page I get a slow display. Is
there a way
to speed this up?
do while not rs.EOF

Response.Write rs("col_name")
rs.MoveNext()
loop

http://www.aspfaq.com/show.asp?id=2467

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 19 '05 #5
Are writing the data out into a HTML table structure?

--
'dlbjr
'Pleading sagacious indoctrination!
Jul 19 '05 #6

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

Similar topics

4
by: Snyke | last post by:
Hi. I have a command line script which works really fine, the only problem is that it take *really* long for the first output to be printed on screen. Since I also get some HTTP headers I'm...
12
by: dvumani | last post by:
I have C code which computes the row sums of a matrix, divide each element of each row with the row sum and then compute the column sum of the resulting matrix. Is there a way I can speed up the...
9
by: mfyahya | last post by:
Hi, I'm new to databases :) I need help speeding up select queries on my data which are currently taking 4-5 seconds. I set up a single large table of coordinates data with an index on the fields...
2
by: Robert Wilkens | last post by:
Ok... This may be the wrong forum, but it's the first place I'm trying. I'm new to C# and just implemented the 3-tier Distributed application from Chapter 1 (the first walkthrough) in the...
4
by: Troy | last post by:
Hello all, I was wondering if there is a way to speed up the rendering of a web page to the client browser... In my case, I am retrieving about 60 - 100 rows of data from an SQL Server and I...
2
by: OHM | last post by:
I was wondering about this topic and although I accept that different situations call for different solutions, but wondered are there any other solutions and whether has anyone carried out a...
5
by: Erik Lautier | last post by:
I have two subroutines that are running on virtually every page of my site; it's an if/then/else situation where one runs if the user is registered and the other runs if the user is a guest. I...
5
by: RobinAG | last post by:
Hello, I just split my database into front and back end. My front end users are experiencing really slow opening of forms. I've searched online for help speeding up forms, but I'm not sure what...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.