主题:asp.net的response.write
用<% ="kk" %>可以正常显示,用<% response.write("kk") %>就显示错误:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1002: ; expected
Source Error:
Line 39: %>
Line 40: <%
Line 41: response.write("kk")
Line 42: %>
Line 43: </center>
Source File: D:\asp.net\Syntax2.aspx Line: 41
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1002: ; expected
Source Error:
Line 39: %>
Line 40: <%
Line 41: response.write("kk")
Line 42: %>
Line 43: </center>
Source File: D:\asp.net\Syntax2.aspx Line: 41