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

📄 del_pro_sav.asp

📁 oracle9i程序事例集
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" %>
<!-- #include file="../common/conn.asp" -->
<!-- #include file="../common/status.html" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>删除商品信息</title>
<% if session("admin_id")="" then %>
  您还没有登录或者您的权限不够,五秒钟后自动返回登录,如果您的浏览器没有自动返回,请<a href="../admin/login.html">点击登录</a>。
  <meta http-equiv="refresh" content="5;url=login.html">
<% else %>
</head>

<body background="../img/updatebg.gif">
<%
  dim rs,sql
  set rs=server.CreateObject("adodb.recordset")
  sql="select product_num, product_isdel from scott.product_info where product_id="&request.QueryString("id")
  rs.open sql,connstr,3,3
  product=rs("product_num")
  rs("product_isdel")="y"
  rs.update
  rs.close
  set rs=nothing
%>
<div align="center"><center>
<table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr align="center">
    <td height="20" colspan="3">商品<%=product%>已经删除</td>
    </tr>
  <tr>
    <td height="20" colspan="3">&nbsp;</td>
    </tr>
  <tr>
    <td height="20" align="right" width="33%"><a href="all_pro.asp">浏览全部商品信息</a></td>
    <td align="center" width="34%"><a href="update_pro.asp">继续删除</a></td>
    <td align="left" width="33%"><a href="index.asp">返回主页</a></td>
  </tr>
</table>
</center></div>
</body>
<% end if %>
</html>

⌨️ 快捷键说明

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