Partager via


Manage Data Access Using CursorAdapters Sample

File: ...\Samples\Solution\Toledo\CASample.scx

This sample demonstrates how CursorAdapter objects retrieve data from three different data source types:

  • Native

    This sample demonstrates a Native cursor connected to the Visual FoxPro Northwind database.

  • Open Database Connectivity (ODBC)

    This sample demonstrates an ODBC cursor connected to the SQL Server Northwind Database, if installed.

  • ActiveX® Data Objects (ADO)

    This sample demonstrates an ADO cursor connected to the SQL Server Northwind Database, if installed.

The cursors are row buffered and use automatic updates, so when you move off the row, any changes to the row are sent to the database.

To view the property settings of the CursorAdapter objects, click the View CursorAdapter Properties button. These property settings were set using the CursorAdapter Builder.

See Also

Concepts

Data Access Management Using CursorAdapters

Reference

CursorAdapter Class

CursorAdapter Builder

Other Resources

Data Solution Samples