<!--#include file="../conn2.asp"-->
<!--#include file="set.asp"-->
<% id=request.querystring("id")
action=request.querystring("action")
if action="shenghe" then
set rs=server.createobject("adodb.recordset")
sql="update link set check=true where id="&id
rs.open sql,conn,1,1
elseif action="del" then
set rs=server.createobject("adodb.recordset")
sql="select * from link where id=" & id
rs.open sql,conn,3,3
rs.delete
rs.close
set rs=nothing
end if
response.redirect "link.asp"%>