delczy_deal.asp

来自「企业进销存管理系统 企业级别的进销存管理系统」· ASP 代码 · 共 25 行

ASP
25
字号
<!--#include file="../conn/conn.asp"-->
<%
qID=request.QueryString("id")
if qID<>"" then
	response.Write("<script language='javascript'>if(!confirm('真的要删除该操作员吗?')){window.location.href='delczy.asp';}</script>")
	on error resume next
	sql="delete from userlist where id='"&qID&"'"
	conn.execute(sql)
	if err<>0 then
		response.Write("<script language='javascript'>alert('操作员信息删除失败!');window.location.href='delczy.asp';</script>")
	else
		response.Write("<script language='javascript'>alert('操作员信息删除成功!');window.location.href='delczy.asp';</script>")
	end if
else
	response.Write("<script language='javascript'>window.location.href='delczy.asp';</script>")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
</body>
</html>

⌨️ 快捷键说明

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