⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 is_customer_exist.asp

📁 === ==ASP销售管理系统
💻 ASP
字号:
<!--#include file="../config.asp"-->
<!--#include file="../inc/check_login.asp"-->
<!--#include file="../inc/functions.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>Untitled</title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	<LINK rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<%
Customer_Name = request("Customer_Name")
Customer_Name = FormatString(Customer_Name)
Set conn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
conn.open connstr
sql = "sp_Customer_Is_Exist '" & Customer_Name & "'"
set rs = conn.execute(sql)
if not rs.eof then
	Exist = true
else
	Exist = false
end if
rs.close
set rs = nothing
conn.close
set conn = nothing
%>
</body>
</html>
<script language="JavaScript" type="text/javascript">
	<% If Exist then %>
	alert('该客户已经存在,如果已经删除,请联系管理员进行恢复。');
	<% End If %>
</script>

⌨️ 快捷键说明

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