📄 gg_del.asp
字号:
<!--#include file="conn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<%
dim bhx
bhx="1"
if (request("bh")<>"")then
bhx=request("bh")
end if
%>
<%
sql = "Select * from gonggao where bh="+ bhx
Set rs = Server.CreateObject ("ADODB.Recordset")
rs.Open sql,conn,2,3
%>
<%rs.delete%>
<%rs.close%>
<%set rs=nothing%>
<%
response.Redirect("admin_right.asp?url=ggmanage.asp&reason=成功删除公告.")
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -