ADO Code Examples in Visual C++
Use the following code examples to learn how to use the ADO methods, properties, and events when writing in Microsoft Visual C++.
Note
Paste the entire code example, from beginning to end, into your code editor. The example may not run correctly if partial examples are used or if paragraph formatting is lost.
Methods
Properties
ActiveConnection, CommandText, CommandTimeout, CommandType, Size, and Direction Properties Example
ConnectionString, ConnectionTimeout, and State Properties Example
Description, HelpContext, HelpFile, NativeError, Number, Source, and SQLState Properties Example
Other
See Also
ADO Code Examples in Visual Basic
ADO Code Examples VBScript
Appendix D: ADO Samples