📄 delete.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/conn2.asp" -->
<%
if(Request.QueryString("id") <> "") then Command1__did = Request.QueryString("id")
%>
<%
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_conn2_STRING
Command1.CommandText = "DELETE FROM bbs1 WHERE id = " + Replace(Command1__did, "'", "''") + " "
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<meta http-equiv="refresh" content="2;URL=checklogin.asp">
</head>
<body>
<div align="center">
<table width="248" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font color="#FF0000" size="2">删除成功3秒返回。。。</font></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -