Updating Data with the ADO Data Control
ADO Data Control data can be either read-only or modifiable. To create an application that modifies data using ADO Data Control, do the following.
- Set ADO Data Control CursorLocation property. Options are:
- Set ADO Data Control LockType property. The optimistic concurrency is recommended.
- Set ADO Data Control CursorType property. Options are:
- Keyset Cursor
- Dynamic Cursor
- Static Cursor
Make sure the OLE DB provider supports the chosen option.
- Set the data-bound control's properties, as needed, to allow updatability. Note that some controls do not allow updating.
Refer to the ADO documentation for more information on these properties; see Getting Help on Controls.
Back to Using ADO Databinding in Visual C++.