admin_del.asp
来自「一套简单的教师办公系统,ASP+ACCESS开发」· ASP 代码 · 共 17 行
ASP
17 行
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="tcconn.asp" -->
<%
if request.Cookies("flag")<>"loginok" then
response.write "<script language=JavaScript>{window.alert('网络超时或你还未登录,请重新登陆!');window.location.href='index.htm';}</script>"
response.end
end if
tc_id=request("id")
if tc_id="" then
response.write "来源未知或数据丢失!"
response.end
end if
conn.execute("delete from tcinfor where tc_id="&tc_id&"")
response.Write "<script language=javascript>{window.alert('记录删除成功!');window.location.href='admin_modify.asp';}</script>"
response.End()
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?