?? del_board.asp
字號:
<!--#include file="../conn2.asp" -->
<!--#include file="set.asp"-->
<% bid=int(request.querystring("bid"))
action=request.querystring("action")
if action="lock" then
set rs=server.createobject("adodb.recordset")
sql="update board set lock=1 where bid="&bid
rs.open sql,conn,1,1
elseif action="notlock" then
set rs=server.createobject("adodb.recordset")
sql="update board set lock=0 where bid="&bid
rs.open sql,conn,1,1
elseif action="del" then
set rs=server.createobject("adodb.recordset")
sql="select * from board where bid=" & bid
rs.open sql,conn,3,3
rs.delete
conn.execute "delete from book where bid in ("&bid&")"
rs.close
set rs=nothing
end if
response.redirect "boardman.asp"%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -