⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 del.asp

📁 wapgo网址导航整站源码,WAP源码,更多登陆http://xywap.cn
💻 ASP
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<%option explicit%>
<%Dim ids,rs,rsstr%>
<!--#include file="conn.asp"-->

<%
if session("admin")="" then
response.redirect "admin.asp"
end if

ids=request.QueryString("ids")

set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [class] where ClassID=" & ids
rs.open rsstr,conn,1,2

if rs.recordcount=1 then
rs.delete
rs.update
rs.close
set rs=nothing
end if

conn.close
set conn=nothing
%>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<html>
<head>
<title>删除成功</title>
<meta http-equiv="refresh" content='2; URL=class.asp'>
</head>
<body>
<p align="center"><b>栏目删除成功!</b></p>
</body>
</html>

⌨️ 快捷键说明

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