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

📄 que_del.asp

📁 本人的课程设计。不足之处请大家指教。因为第一次用ASP有很多不足的地方。
💻 ASP
字号:
<!-- #include file="cookies.asp" -->
<!-- #include file="conn/conn.asp" -->
<%

if request.querystring("type")="del" then
sql="delete from question where qid='"&trim(request.querystring("qid"))&"'"
conn.execute(sql)
conn.close
set conn=nothing
%>
<script>
window.alert("成功删除该题")
self.opener.location.reload();
window.close();
</script>
<%
end if
%>
<html>
<head>
<title>确认删除试题</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../style/style.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="50%" border="0" align="center">
  <tr> 
    <td align="center" height="50"><font color="#FF0000">请问是否确认该试题!</font></td>
  </tr>
  <tr>
    <td align="center" height="50">
      <input type="button" name="Submit" value="确认删除" onclick="location.href='que_del.asp?type=del&qid=<%=trim(request.querystring("qid"))%>&page=<%=request.querystring("page")%>';">
      <input type="button" name="Submit2" value="取消" onclick="window.close();">
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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