?? delete.asp
字號:
<%
if session("password")<>"" then
%>
<html>
<head>
<title>刪除成功!</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
@import url("20041026_25175_stry_css.css");
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="5">
<!--#include file="conn1.asp"-->
<%
id = trim(Request("id"))
SQLcmd = "delete from bbs1 where id="&id
response.write "<script language=JavaScript>" & chr(13) & "alert('刪除成功!刷新才能看到效果');"&"history.back(-1)"&" </script>"
newconn.Execute SQLcmd
%>
</body>
</html>
<%
else
Response.Redirect "admpost.asp" '否則轉(zhuǎn)換到admpost.asp頁面
end if
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -