delmznews.asp

来自「这是一个电子政务的源代码」· ASP 代码 · 共 26 行

ASP
26 行
字号
<!--#include file="admintop.asp"-->
<!--#include file="isadmin.asp"-->
<%  
    dim id
	    id=request.querystring("id")
        if id="" or isnull(id) then
		   response.write"<script>alert('操作符丢失,\n请返回重试');history.back();</script>"
           else
		   sql="delete from news where id in ("&id&")"
		       conn.execute(sql)
         %>
		 <table width="350" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
  <tr>
    <th height="30" bgcolor="#B1E1F3">删除成功</th>
  </tr>
  <tr>
    <td>数据已成功删除,你可以返回查看.</td>
  </tr>
  <tr>
    <td><div align="center"><a href="admin_news.asp">【返回】</a> </div></td>
  </tr>
</table>
<% end if %>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?