OLEDBDATA Objects

OLEDB objects are used to interface with OLEDB-compatible data sources.

OLEDBAdapter Object

The OLEDBAdapter class represents a set of OLEDBCommands and a OLEDBConnection, which are used to populate a DataSet. (See Tables C.17, C.18, and C.19.)

Table C.17. Properties of the OLEDBAdapter Object
Property Description
DeleteCommand Gets or sets a SQL statement used to delete rows from a DataSet.
InsertCommand Gets or sets a SQL statement used to insert new rows into a DataSet.
SelectCommand Gets or sets a SQL statement used to retrieve rows from a DataSet.
UpdateCommand Gets or sets a SQL statement used to update rows in a DataSet.
Table C.18. Methods of the OLEDBAdapter Object
Method Description
Fill Updates the DataSet object ...

Get Inside ASP.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.