public static void TipAndRedirect(string msg, string goUrl, string second)
{
HttpContext.Current.Response.Write("<meta http-equiv=‘refresh‘ content=‘" + second + ";url=" + goUrl + "‘>");
HttpContext.Current.Response.Write("<br/><br/><p align=center><div align=‘center‘ style=\"size:12px\"> " + msg.Replace("!", "") + ",页面2秒内跳转!<br/><br/> <a href=\"" + goUrl + "\">如果没有跳转,请点击!</a></div></p>");
HttpContext.Current.Response.End();
}
时间: 2024-10-12 15:55:09