且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP经典性能问题

更新时间:2023-09-21 13:12:28

这就是我通常做的事情。对我来说很好。

James Jones


" Merovingian" < st *********** @ gmail.comwrote in message

news:11 ******************* ***@k70g2000cwa.googlegr oups.com ...
That is what i usually do. works fine for me.
James Jones


"Merovingian" <st***********@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...

我正在维护一个包含HTML的ASP经典文件

Response.Write方法......例如。


<%

Response.Write"< table>< tr>< td>

Response.Write testVariable

Response.Write"< / td>< / tr>< / table>"

%>


如果我写这篇文章会对他们造成影响吗?


< table>< tr> ;< td><%= testVariable%>< / td>< / tr>< / table>


我想,不,但我需要一些确认。


感谢您的任何意见/建议。
I''m maintaining an ASP Classic file that has HTML withing
Response.Write methods...such as.
<%
Response.Write "<table><tr><td>"
Response.Write testVariable
Response.Write "</td></tr></table>"
%>

Would their be a performance hit if I were to write this instead?

<table><tr><td><%=testVariable%></td></tr></table>

I think, no, but I need some confirmation.

Thanks for any advice/suggestions.



Merovingian写道:
Merovingian wrote:

我正在维护一个包含HTML的ASP Classic文件

Response.Write方法......例如。


<%

Response.Write"< table>< tr> < td>"

Response.Write testVariable

Response.Write"< / td>< / tr>< / table>"

%>


如果我写这篇文章会对他们造成影响吗?


< table&gt ;< tr>< td><%= testVariable%>< / td>< / tr>< / table>


我想,不,但是我需要一些确认。
I''m maintaining an ASP Classic file that has HTML withing
Response.Write methods...such as.
<%
Response.Write "<table><tr><td>"
Response.Write testVariable
Response.Write "</td></tr></table>"
%>

Would their be a performance hit if I were to write this instead?

<table><tr><td><%=testVariable%></td></tr></table>

I think, no, but I need some confirmation.



否。我认为在IIS4中曾经有过,但这不再是一个因素。

- -

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。

No. I think in IIS4, there used to be, but that is no longer a factor.
--
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.


感谢Bob!


Bob Barrows [MVP]写道:
Thanks Bob!

Bob Barrows [MVP] wrote:

Merovingian写道:
Merovingian wrote:

我正在维护ASP Classic具有HTML的文件

Response.Write方法...例如。

<%

Response.Write"< table&gt ;< tr>< td>"

Response.Write testVariable

Response.Write"< / td>< / tr>< / table&gt ;"

%>


如果我这样做,他们的表现会受到影响吗?


< table>< tr>< td><%= testVariable%>< / td>< / tr>< / table>


我想,不,但我需要一些确认。
I''m maintaining an ASP Classic file that has HTML withing
Response.Write methods...such as.
<%
Response.Write "<table><tr><td>"
Response.Write testVariable
Response.Write "</td></tr></table>"
%>

Would their be a performance hit if I were to write this instead?

<table><tr><td><%=testVariable%></td></tr></table>

I think, no, but I need some confirmation.



编号我认为在IIS4中曾经有过,但这不再是一个因素。

-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复

No. I think in IIS4, there used to be, but that is no longer a factor.
--
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.