최초커밋
This commit is contained in:
60
project/cli_modi_ok_2014.asp
Normal file
60
project/cli_modi_ok_2014.asp
Normal file
@@ -0,0 +1,60 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<%
|
||||
p_cli_company_cd = request("p_cli_company_cd") '<27≯<EFBFBD> <20>˻<EFBFBD><CBBB><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Client Name
|
||||
p_cli_company_nm = request("p_cli_company_nm")
|
||||
|
||||
|
||||
'<27><><EFBFBD><EFBFBD> <20>߰<EFBFBD><DFB0><EFBFBD> Client Name
|
||||
query = "SELECT * "
|
||||
query = query & "FROM T_CLIENT_COMP "
|
||||
query = query & "WHERE p_cli_company_nm = '" & p_cli_company_nm & "' "
|
||||
|
||||
rsc.Open query, adoConn, 1
|
||||
if rsc.RecordCount > 0 then
|
||||
tmp_result = "1"
|
||||
else
|
||||
tmp_result = "0"
|
||||
end if
|
||||
rsc.Close
|
||||
|
||||
if tmp_result = "0" then
|
||||
|
||||
query = "UPDATE T_CLIENT_COMP "
|
||||
query = query & "SET "
|
||||
query = query & "p_cli_company_nm ='" & p_cli_company_nm & "', "
|
||||
query = query & "p_cli_company_yn ='y' "
|
||||
query = query & "WHERE p_cli_company_cd='" & p_cli_company_cd & "' "
|
||||
|
||||
'Response.Write query
|
||||
set dbin = server.CreateObject("ADODB.CONNECTION")
|
||||
dbin.Open adoConn
|
||||
dbin.Execute query
|
||||
dbin.Close
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
|
||||
<LINK rel="stylesheet" type="text/css" href="/lib/text.css">
|
||||
<title>
|
||||
Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ <20><><EFBFBD><EFBFBD>
|
||||
</title>
|
||||
<script language=javascript>
|
||||
function goit() {
|
||||
document.pms.action = 'cli_search_2014.asp';
|
||||
document.pms.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onLoad="goit()">
|
||||
<form name="pms" method="post">
|
||||
|
||||
<input type="hidden" name="p_cli_company_nm" value="<%=p_cli_company_nm%>">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<%
|
||||
else
|
||||
alert2 "<22>̹<EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20>ִ<EFBFBD> <20≯<EFBFBD><CCB8>Դϴ<D4B4>"
|
||||
end if
|
||||
set rsc = nothing
|
||||
%>
|
||||
Reference in New Issue
Block a user