缺少 '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")
%>
展开
 我来答
jimmloo
2009-07-01 · TA获得超过386个赞
知道小有建树答主
回答量:191
采纳率:0%
帮助的人:237万
展开全部
<!--#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")

%>
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式