최초커밋
This commit is contained in:
36
inspection/coding_confirm_delete.asp
Normal file
36
inspection/coding_confirm_delete.asp
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<%
|
||||
|
||||
set dbin = server.CreateObject("ADODB.CONNECTION")
|
||||
dbin.Open adoConn
|
||||
Response.CharSet = "EUC-KR" '<27>ѱ<EFBFBD>
|
||||
Response.AddHeader "Pragma","no-cache"
|
||||
Response.AddHeader "cache-control", "no-staff"
|
||||
Response.Expires = -1
|
||||
|
||||
Dim id : id = request("id")
|
||||
Dim i : i = 0
|
||||
Dim j : j = 0
|
||||
|
||||
query = ""
|
||||
query = query & " DELETE FROM project2.dbo.T_NEAKEUN_PAY WHERE attribute01 = '" & id & "' "
|
||||
|
||||
dbin.Execute query, i
|
||||
|
||||
if i = 1 then
|
||||
query = ""
|
||||
query = query & " DELETE FROM project2.dbo.neakeun_work WHERE id = " & id & " "
|
||||
|
||||
dbin.Execute query, j
|
||||
|
||||
if j = 1 then
|
||||
Response.Write "1"
|
||||
end if
|
||||
end if
|
||||
|
||||
if i <> 1 or j <> 1 then
|
||||
Response.Write "0"
|
||||
end if
|
||||
dbin.Close
|
||||
%>
|
||||
Reference in New Issue
Block a user