📄 delete.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
if application("loginok")="yes" then
response.Redirect "index.asp"
end if
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body background="picture/beijing.jpg" text="#0000FF" bgcolor="#E0E1E2">
<div align="center">
<font size="+7">图书管理系统</font> V0.1
</div>
<table width="110%" border="0">
<tr bgcolor="#CCCCCC">
<td>图书管理系统->删除数据</td>
</tr>
</table>
<!-- #include file="adofunctions.asp" -->
<%
zhuti = request.querystring("shuhao")
strsql="select * from 图书表 where 书号='" & zhuti & "'"
strsq="delete from 图书表 where 书号='" & zhuti & "'"
Set objRS = GetSQLRecordset(strsql,"bookstore.mdb", "图书表")
if objRS.eof then
response.write "对不起,没有此记录"
else
GetSQLRecordset strsq,"bookstore.mdb", "图书表"
response.redirect "guanliyuan.asp"
end if
objRS.close
objConn.close
set objrs=nothing
set objConn=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -