自动跳转JS代码
 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();
        }
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号