Wrox Programmer Forums
|
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 November 12th, 2005, 08:38 AM
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Performance Issue of Execution

Hi frns,

I like to discuss the following issue:

Which code gives optimum performance and runs faster?

Writing the html tags within <%...%> or just mixing html tags and ASP coding. For eg.,
<%
response.write "<table>"
while not rs.EOF
 response.write "<tr><td>" & rs("Empid") & "</td></tr>"
 rs.movenext
wend
response.write "</table>"
%>

OR

<table>
<%
while not rs.EOF
%>
 <tr><td>
<%
 response.write rs("Empid")
%>
 </td></tr>
<%
 rs.movenext
wend
%>
</table>


Regards,
John Jebastin,
Mumbai, India.
 
Old November 14th, 2005, 11:18 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Are you doing an ASP or ASP.NET application?






Similar Threads
Thread Thread Starter Forum Replies Last Post
performance issue keyvanjan Classic ASP Basics 0 May 23rd, 2006 10:57 AM
Transactions and performance issue avanishp General .NET 0 August 25th, 2005 09:07 AM
issue of performance alyeng2000 SQL Server 2000 6 August 20th, 2004 01:17 PM
Performance issue deyakhatib SQL Server 2000 2 June 21st, 2004 10:47 PM





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