深圳升蓝软件
数据库开发 .Net技术  |  ASP技术 PHP技术 JSP技术 应用技术类   
Hiblue Software

比较ASP和ASP.NET中的Response.Write


March 25,2004
Response.Write may be the most frequently used function in classic ASP applications. When I (and I'm sure
a lot of you) use Response.Write in classic ASP it usually looks something like:

Response.Write "This is a test write."

In the brave new ASP.NET world we can longer call Response.Write (this applies to all functions - not just
Response.Write) without using parentheses. So, instead of using the code above we must now use syntax
like:
Response.Write("This is a test write.")

Just a helpful little tip for those of you making the switch to ASP.NET!
       
Copyright © 2001-2008 Shenzhen Hiblue Software Team All rights reserved