asp 单选题 提示缺少wend 麻烦高手看一下
<%subject=Request.Form("subject")identity=Request.Form("identity")sql="Select*Fromlis...
<%
subject = Request.Form("subject")
identity = Request.Form("identity")
sql="Select * From listening"
rs.open sql,conn,2,2
listening=0
for n=1 to 3
answer=rs("a"&n)
selection=request.form(rs("q"&n))
if answer = selection then
listening=listening+10
End if
next
rs.movenext
wend
%>
是想判断选项的正误 不是添加信息到表中 没看出哪里不对啊 展开
subject = Request.Form("subject")
identity = Request.Form("identity")
sql="Select * From listening"
rs.open sql,conn,2,2
listening=0
for n=1 to 3
answer=rs("a"&n)
selection=request.form(rs("q"&n))
if answer = selection then
listening=listening+10
End if
next
rs.movenext
wend
%>
是想判断选项的正误 不是添加信息到表中 没看出哪里不对啊 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询