<!--#include file="xyconn.asp"-->
<% 
id=request.QueryString("id")
exec="select * from [ad] where id="&id 
set rs=server.createobject("adodb.recordset") 
rs.open exec,conn,1,1 
sql="update ad set hit=hit+1 where id="& request.QueryString("id") '点击次数
conn.execute(sql) 
response.redirect "" & rs("url")& "" 
rs.close
set rs=nothing
%>