帮我看看一个for循环语句
for i=1 to 22
if Request.Form(i)<>"" then
a=Request.Form(i)
if a<>"" and a<>"0" and IsNumeric(a)=true then
Set Rs = Server.Createobject("adodb.recordset")
Sql = "Select * from survey where id="&i
Rs.open Sql,conn,1,3
rs(a)=rs(a)+1
rs.Update
set rs = Nothing
end if
end if
next
-----------------------------------------------------------
小调查,22个问题,单选框如:<input type='radio' id='1' name='1' value='1'>
但是上面获得的 Request.Form(i) 值是 176 ,帮忙解决一下!
if Request.Form(i)<>"" then
a=Request.Form(i)
if a<>"" and a<>"0" and IsNumeric(a)=true then
Set Rs = Server.Createobject("adodb.recordset")
Sql = "Select * from survey where id="&i
Rs.open Sql,conn,1,3
rs(a)=rs(a)+1
rs.Update
set rs = Nothing
end if
end if
next
-----------------------------------------------------------
小调查,22个问题,单选框如:<input type='radio' id='1' name='1' value='1'>
但是上面获得的 Request.Form(i) 值是 176 ,帮忙解决一下!
...全文
相关推荐
springboot+mysql《升学日》日本大学信息及院校推荐网站.zip
springboot+mysql《升学日》日本大学信息及院校推荐网站,含有完整的源码和报告文档
(springboot+mysql)《升学日》日本大学信息及院校推荐网站.zip
(springboot+mysql)《升学日》日本大学信息及院校推荐网站 如果运行不出来,或者自己能力有限,可以联系作者买人工调试服务
(springboot+mysql)《升学日》日本大学信息及院校推荐网站(文档+源码)_kaic.zip
计算机毕业设计
(springboot+mysql)《升学日》日本大学信息及院校推荐网站.rar
1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、本项目仅用作交流学习参考,请切勿用于商业用途。
springboot基于JAVA的智慧校园升学就业系统的设计与实现-w38rwssk.zip
springboot基于JAVA的智慧校园升学就业系统的设计与实现-w38rwssk.zip


