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

📄 dealall.asp

📁 个人图书信息管理系统的程序代码
💻 ASP
字号:
<html>
	<head>
	<title>个人图书信息管理</title>
	</head>
	<body>
<%
Dim id,ins,del,upd,count
id=Request.QueryString("id")
ins=Request.QueryString("ins")
del=Request.QueryString("del")
upd=Request.QueryString("upd")
Set conn=Server.CreateObject("ADODB.Connection")
conn.Open "Dbq=" & Server.Mappath("db/books.mdb") & ";Driver={Microsoft Access Driver (*.mdb)}"
If  ins<>"" then
	Response.Redirect("insert.asp")
End If
If  del<>"" then
	sql="delete from bookinfo where id=" & id
    conn.Execute(sql)
	Response.Write("删除成功!")
End If
If upd<>"" then
Response.Redirect("updatenew.asp?id=" & id)
End If
Set conn=nothing
%>
<p>
<!--#include file="back.htm"-->
</body>
</html>

⌨️ 快捷键说明

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