Condividi tramite


Managing 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 ViewCursorAdapter Properties button. These property settings were set using the CursorAdapter Builder.

See Also

Solutions Samples | CursorAdapter Class | Data Access Management Using CursorAdapters | CursorAdapter Builder