📄 delete.asp
字号:
<%
if session("password")<>"" then
%>
<html>
<head>
<title>七夕情人节许愿-删除</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="5">
<!--#include file="conn.asp"-->
<%
id = trim(Request("id"))
SQLcmd = "delete from wish where id="&id
response.write "<table width='100%' border=0 cellspacing=0 cellpadding=0 height='100%'><tr><td>"
response.write "<table width=250 border=1 cellspacing=2 cellpadding=2 align=center bordercolorlight=7285CF bordercolordark=7285CF height=90 bgcolor=F2F2F2>"
response.write " <tr bordercolor=F2F2F2 bgcolor=F2F2F2 align=center> "
response.write "<td>删除成功!</td>"
response.write "</tr>"
response.write "<tr bordercolor=F2F2F2 bgcolor=F2F2F2 align=center> "
response.write "<td>您已经成功的将此条愿望从数据库中删除!</td>"
response.write "</tr>"
response.write "</table>"
response.write "</td></tr></table>"
newconn.Execute SQLcmd
%>
</body>
</html>
<%
else
Response.Redirect "admpost.asp" '否则转换到admpost.asp页面
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -