userlook_del.asp

来自「旅游管理系统 用ASP+SQL 2」· ASP 代码 · 共 28 行

ASP
28
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户线路删除预订</title>
</head>
<body>
<!--#include file="includefile/conn.asp" -->
<%
if session("userlook")<>"mfkiqpl" then
session("errormsg")="你是无权用户!"
Response.Redirect "error.asp"
end if
dim id
id=request("id")
if id="" then
session("errormsg")="无法确定你想执行的操作!"
Response.Redirect "error.asp"
end if
sq="delete * from giveme where id="+id
conn.Execute sq
conn.close
session("1")="您选定的预订情况已成功删除!"
Response.Redirect "ok.asp"
%>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?