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.
|