<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
set rs=server.createobject("ADODB.RECORDSET") rs.open "表1",conn,1,3
rs.addnew
rs("username") = yourname
rs.update
rs.close
rs.open "表2",conn,1,3
rs.addnew
rs("username") = yourname
rs.update
rs.close
rs.open "表3",conn,1,3
rs.addnew
rs("username") = yourname
rs.update
rs.close
set rs = nothing
本文介绍了一种使用 ADODB.RecordSet 对象批量向多个表中插入相同用户名的方法。通过创建 RecordSet 对象并调用其方法,可以有效地实现数据的批量添加。

被折叠的 条评论
为什么被折叠?



