del_onlinedd.asp

来自「<1> 优化了部分代码及一些BUG.提高了浏览速度 <2&」· ASP 代码 · 共 28 行

ASP
28
字号
<!--#include file=../system/include/config.asp-->
<!--#include file=../share/conn_system.asp-->
<!--#include file=../system/include/function.asp-->
<!--#include file=../system/include/access_zj.asp-->

<%
	dim checkbox,strSql
	checkbox=request("checkbox")

	if checkbox="" then
		out("参数传递出错!")
		out("<a href=""javascript:window.go(-1)"">返回</a>!")
		response.end
	end if

checkbox=replace(checkbox," ","")
checkbox=replace(checkbox,","," or id=")


	strSql="delete from [onlinedd] where id=" & checkbox
	conn.execute(strSql)
if request("ii")="new" then
        response.redirect "view_newdd.asp"
   else
response.redirect "view_olddd.asp"
end if
%>
<!--#include file=../system/include/foot.asp-->

⌨️ 快捷键说明

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