这段代码为什么不能实现多条数据的插入

[复制链接]
查看11 | 回复1 | 2006-8-3 10:19:22 | 显示全部楼层 |阅读模式
"" then for i=1 to 12 if request("jkco"&i)"" then rs addnew rs("khcod")=request("khcod"&i) rs("ddid")=Request.QueryString("ddid") rs("jkco")=request("jkco"&i) rs("pco")=request("pco"&i) rs("jtco")=request("jtco"&i) rs("shl")=Cint(request("shl"&i)) rs("tshl")=request("tshl"&i) rs("other")=request("other"&i) rs.update end if next response.Redirect(ddanfjlist.asp) end if %> 把for i=1 to 121 to 12 的12改成你想要输入数据数量就行了...
回复

使用道具 举报

千问 | 2006-8-3 10:19:22 | 显示全部楼层
那个网站不允许代码的输入
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行