提示消息后跳转

System.Web.HttpContext.Response.Write("<script>alert('添加成功!请重新登录后查看。');location.href='xxxx.aspx';</script>");

原文地址:https://www.cnblogs.com/Gerry-BJ/p/3177892.html