注册 登录
编程论坛 ASP技术论坛

好简单

dope2008 发布于 2008-08-20 14:29, 744 次点击
<%


if i>0 then
自动连接去baidu  我想这里他自动把页面转到baidu
else
自动连接去abc.asp 我想这里他自动把页面转到abc.asp
end if
%>

怎么写

[[it] 本帖最后由 dope2008 于 2008-8-20 14:33 编辑 [/it]]
1 回复
#2
shaoli42612008-08-20 15:16
<%
if i>0 then
 response.redirect("http://baidu.com")
else
 response.redirect("http://abc.asp")
end if
%>
1