Response.Redirect("StoreInformation.aspx?StoreName=" + this.nick);
报一下错误:
Cannot redirect after HTTP headers have been sent.
解决方案:
Response.Write("<script>window.location.href='StoreInformation.aspx?StoreName=" + this.nick + "';</script>");
Response.Redirect("StoreInformation.aspx?StoreName=" + this.nick);
报一下错误:
Cannot redirect after HTTP headers have been sent.
解决方案:
Response.Write("<script>window.location.href='StoreInformation.aspx?StoreName=" + this.nick + "';</script>");
相关文章: