Response.Write("<script>alert('您还没有上传相关图片!');</script>");是向前台输出js
应该用下面的方法
ClientScript.RegisterClientScriptBlock(this.GetType(), "this", "<script>alert('修改成功!');</script>");
2022-11-08 17:28:48
Response.Write("<script>alert('您还没有上传相关图片!');</script>");是向前台输出js
应该用下面的方法
ClientScript.RegisterClientScriptBlock(this.GetType(), "this", "<script>alert('修改成功!');</script>");