缺少 'Wend'
<!--#includefile="conn.asp"--><%ifrequest("detel")="删除"andrequest("seltyid")<>""thenc...
<!--#include file="conn.asp"-->
<%
if request("detel")="删除" and request("seltyid")<>"" then
count=0
condition=""
condition1=""
condition2=""
end if
for each idno in request("seltyid")
count=count+1
condition=condition+"id=" & idno
condition1=condition1+"reid=" & idno
if count<request("seltyid").count then
condition=condition+" or "
condition1=condition1+" or "
end if
next
set conna=opendba("oabusy","conna","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from xxx where " & condition1
rs.open sql,conna,1
while not rs.bof and not rs.eof
condition2=condition2+"senddateid=" & rs("id")
Response.redirect("list.asp")
%> 展开
<%
if request("detel")="删除" and request("seltyid")<>"" then
count=0
condition=""
condition1=""
condition2=""
end if
for each idno in request("seltyid")
count=count+1
condition=condition+"id=" & idno
condition1=condition1+"reid=" & idno
if count<request("seltyid").count then
condition=condition+" or "
condition1=condition1+" or "
end if
next
set conna=opendba("oabusy","conna","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from xxx where " & condition1
rs.open sql,conna,1
while not rs.bof and not rs.eof
condition2=condition2+"senddateid=" & rs("id")
Response.redirect("list.asp")
%> 展开
展开全部
<!--#include file="conn.asp"-->
<%
if request("detel")="删除" and request("seltyid")<>"" then
count=0
condition=""蠢启铅
condition1=""
condition2=""
end if
for each idno in request("seltyid")
count=count+1
condition=condition+"id=" & idno
condition1=condition1+"reid=" & idno
if count<request("seltyid").count then
condition=condition+" or "
condition1=condition1+" or "
end if
next
set conna=opendba("oabusy","conna","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from xxx where "旁饥 & condition1
rs.open sql,conna,1
while not rs.bof and not rs.eof
condition2=condition2+"senddateid=" & rs("id")
//你用了while,所有后面带好需要关闭啊
wend
Response.redirect("list.asp")
%>
<%
if request("detel")="删除" and request("seltyid")<>"" then
count=0
condition=""蠢启铅
condition1=""
condition2=""
end if
for each idno in request("seltyid")
count=count+1
condition=condition+"id=" & idno
condition1=condition1+"reid=" & idno
if count<request("seltyid").count then
condition=condition+" or "
condition1=condition1+" or "
end if
next
set conna=opendba("oabusy","conna","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from xxx where "旁饥 & condition1
rs.open sql,conna,1
while not rs.bof and not rs.eof
condition2=condition2+"senddateid=" & rs("id")
//你用了while,所有后面带好需要关闭啊
wend
Response.redirect("list.asp")
%>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询