📄 m_list_del.asp
字号:
<%@LANGUAGE="VBSCRIPT" codepage=936 %>
<!--#include file="Connections/news.asp" -->
<% if request("check")="" then %>
<% response.write"请选择你要删除的新闻 " %>
<% else %>
<%
if(request("check") <> "") then Command1__ddd = request("check")
%>
<%
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_news_STRING
Command1.CommandText = "DELETE FROM news WHERE n_id IN (" + Replace(Command1__ddd, "'", "''") + ")"
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
<html>
<head>
<title>业一新闻系统2.9增强版</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="refresh" content="2;URL=m_list.asp">
<link rel="stylesheet" href="intohz.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br><br><table width="400" border="1" align="center" height="200">
<tr>
<td bgcolor="#99CC00">
<div align="center">正在处理数据请稍后......</div>
</td>
</tr>
</table>
</body>
</html>
<% end if %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -