编译器错误信息: CS1010: 常数中有换行符

Response.Write("<script>alert(\'add ok\');location.href="/\'Edit.asp"\';</script>");
麻烦哟。
分开输出就噢科了
Response.Write("<script>alert(\'add ok\');location.href="/\'Edit.asp"\';<"+"/script>");
原文地址:https://www.cnblogs.com/zkxp/p/279435.html