|
技术资料 > .Net专区 > Asp.Net开发 : 比较ASP和ASP.NET中的Response.Write |
比较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