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: BC30648: String constants must end with a double quote.Source Error: Line 6: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Line 7: '在此处放置初始化页的用户代码 Line 8: Response.Write("<script>alert('登录成功!');</script>")//此行为红色 Line 9: End Sub Line 10:
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: BC30648: String constants must end with a double quote.Source Error: Line 6: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Line 7: '在此处放置初始化页的用户代码
Line 8: Response.Write("<script>alert('登录成功!');</script>")//此行为红色
Line 9: End Sub
Line 10:
alert('登录成功!');
</script>
Response.Write("<script language='javascript'>alert('登录成功!');</script>");
还有下面这句,注释了都不行。
Response.Write("<script language='javascript'>alert('登录成功!');</script>");