jg_ly.asp

来自「自己做的毕业设计」· ASP 代码 · 共 17 行

ASP
17
字号
<!--#include file=pass.asp-->
<!--#include file="conn.asp"-->
<%
all_id=trim(request("selectedid"))
if instr(all_id,",")=0 then
     sql="delete from [jiangou] where id="&all_id
     conn.execute(sql)
	 else
str=split(all_id,",")
     for i=0 to ubound(str)
     sql2="delete from [jiangou] where id="&cint(str(i))
     conn.execute(sql2)
	 next

end if
response.write"<script language='javascript'>alert('删除成功!');window.location.href='ad_jg.asp';</script>"
%>

⌨️ 快捷键说明

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