asp.net中倒计时自动跳转页面的实现方法(使用javascript) |
首先,先建立一个用于跳转的页面,代码如下 。 复制代码 代码如下: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginTiao.aspx.cs" Inherits="LoginTiao" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > </head> 然后在要引用的页面打向我们刚刚建立的页面即可 Response.Redirect("LoginTiao.aspx"); 代码简单就不贴图了! |