我也是这个问题,搞不定。
没有什么能够阻挡,我对自由的向往,天马行空的生涯一颗心了无牵挂。
就是你帮我改的那一段阿
'ID=request("id")
for i=1 to request.form("ID").count
'if request.form("ID")(i)<=0 then
'ID=1
'else
'ID=request.form("ID")(i)
'end if
set rs_s=server.CreateObject("adodb.recordset")
rs_s.open "select * from ABB where ID="&request.form("ID")(i),conn,1,1
gh=rs_s("gh")
num2=rs_s("num1")
temp=request.form("num2")(i)
num1=temp+num2
rs_s.close
set rs_s=nothing
'response.write gh&" "&num2
'response.end
conn.execute("update ABB set num2="&num2&",num1="&num1&" where ID="&request.form("ID")(i))
next
response.Redirect "rsearch1.asp"