ASP

这个就是传说中的批量更新

exec="select * from products where gameid="&cint(progameid)

set rs=server.createobject("adodb.recordset")

rs.open exec,conn,3,3

'++++++++++++++++++++++++++++++++++++++++++++++++++++

do while not rs.eof

rs("content") = procontent 'this is centent

rs.update

rs.movenext

loop

rs.close

set rs=Nothing

asp批量更新记录

ClassType="姓名"

sql="select * from TableName where ClassType='"&ClassType&"'"

rs.open sql,conn,1,3

Do While Not rs.eof

rs("FiledName")=xxxx

rs.movenext

Loop

rs.BatchUpdate<————–批量更新

分类: ASP

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

相关文章

开始在上面输入您的搜索词,然后按回车进行搜索。按ESC取消。

返回顶部