求一段完整的详细的 ASP 删除文件的代码

来源:百度知道 编辑:UC知道 时间:2024/06/07 15:45:34

<!--#include file="conn.asp"-->
<%
id=request("id")
if id<>"" then
sql="delete from subject where id="&id
conn.Execute sql
sql="delete from xuankedate where sub_id="&id
conn.Execute sql
%>
<SCRIPT LANGUAGE="JScript">
window.alert ("删除成功,单击确定继续!");
window.location = ("t_yifabukecheng.asp");
</SCRIPT>
<%end if%>