new_del.asp
来自「校园二手交易系统,具有完备的后台操作以及应用功能!」· ASP 代码 · 共 16 行
ASP
16 行
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Inc/AdminChk.asp"-->
<!--#include file="Conn.asp"-->
<%
Set rs=Server.CreateObject("Adodb.Recordset")
sql = "select * from new where id="&request("id")&""
rs.open sql,conn,1,3
if not rs.eof or rs.bof then
conn.execute("delete * from new where id="&request("id")&" ")
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect("new_list.asp")
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?