当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO Update 方法

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO Update 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 314 ::
收藏到网摘: n/a

The Update method is used to save all changes made to a single record in a Recordset.
Update的作用是:将所有的更改信息保存到一个记录集中的记录中。

Note: This method will not work if the Recordset does not support updates.
注意:如果Recorset[记录集]对象不支持Update[更新]方法,这个方法将不能被执行。

Syntax
语法

objRecordset.Update fields,values

Parameter参数 Description描述
fields Optional. A field name, or an array of field names or field positions to update
可选参数。指定一个需要更新字段名、字段名数组或字段名位置
values Optional. A value or an array of values for the field or array of fields you want to update
可选参数。为需要更新的字段或字段数组指定一个值或一组值(该值是用于更新字段/字段数组中的原值的)

评论 (0) All

登陆 | 还没注册?