当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO EditMode 属性
The EditMode property returns an EditModeEnum value that specifies the editing status of the current record.
EditMode属性的作用是:返回一个EditModeEnum值,用于指定当前记录的编辑状态。
objRecordset.EditMode |
Constant常量 | Value值 | Description描述 |
---|---|---|
adEditNone | 0 | No editing operation is in progress 无正在进行的编辑操作(默认值) |
adEditInProgress | 1 | The current record has been edited but not saved 当前记录中的数据已经改动,但尚未存入数据库的表中 |
adEditAdd | 2 | The current record in the copy buffer is a new record and has not been saved in the database 临时添加一条记录,但尚未存入数据库的表中 |
adEditDelete | 4 | The current record has been deleted 当前记录已被删除 |