比较ASP和ASP.NET中的Response.Write
点击次数:19 次 发布日期:2008-11-26 23:29:01 作者:源代码网
|
源代码网推荐 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! 源代码网推荐 源代码网供稿. |
