这是帮助文件:
Use LockType to specify the lock type to use when opening a dataset. LockType determines whether the row locking scheme for a recordset will be pessimistic, optimistic, or read-only. To be effective, LockType must be set prior to activating the ADO dataset component.
The default value of LockType is ltOptimistic.
Use the LockType ltBatchOptimistic to open a dataset in batch update mode.