?? delete.asp
字號:
<%
if session("password")<>"" then
%>
<html>
<head>
<title>圣誕許愿樹--億網論壇bbs.vcew.com-刪除</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 "login.asp" '否則轉換到login.asp頁面
end if
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -