<!--#include file="conn.asp"-->
<%act=request("act")
if act="del" then
id=clng(request("id"))
sql="delete from sadsa where id="&id
conn.execute sql
response.write ("<script>alert('删除成功!');window.location.href='?page="&request("page")&"'</script>")
end if%>
……
……
<a href="?act=del&id=<%=rs("id")&page=<%=page%>%>">删除</a>