b=request.Form("aa")
sql1="select * from cibiao"
set rs1=conn.execute(sql1)
a=Split(b,",")
For i=0 To UBound(a)
Do While Not rs1.eof
response.write a(i)&"<br>"
response.write rs1("title2")&"<br>"
If a(i)=rs1("title2") Then
response.write rs1(2).value&"<br>"
Exit do
End If
rs1.movenext
Loop
rs1.movefirst
Next
为什么if语句在for语句第二次循环时不执行呢?希望各位师哥师姐能帮帮忙!谢谢!
有个问题想请教各位师哥师姐