服装行业近年来:在用ASP做网页时,如何使页面跳转到下一个连接的时间增长

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/02 02:15:48
如下代码:
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("huijia.mdb")
exec="delete * from guestbook"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<html>
<head>
<title>删除数据记录</title>
</head>
<body>
记录已成功删除
<%
response.redirect("http://localhost/asp.net/beibei.asp")
%>
</body>
<html>
我想让他能看到“记录已经成功删除”这句话之后再跳转到指定的页面,请高手多多指教!

response.write "<script>alert('记录已经成功删除');location.href='http://localhost/asp.net/beibei.asp';</script>"

你用这个试试

<meta content="3" http-equiv="refresh" url=sajdas.html>里面的3就是时间3秒