JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the OleDbDataAdapter Class

The OleDbDataAdapter class represents a bridge between a dataset and an OLE DB database. Here is the inheritance hierarchy of this class:

Object
   MarshalByRefObject
      Component
         DataAdapter
            DbDataAdapter
               OleDbDataAdapter

You can find the more notable public properties of OleDbDataAdapter objects in Table 22.15, their more notable methods in Table 22.16, and their more notable events in Table 22.17.

Table 22.15: Noteworthy public properties of OleDbDataAdapter objects.

Property

Means

DeleteCommand

Gets/sets the SQL for deleting records.

InsertCommand

Gets/sets the SQL for inserting new records.

SelectCommand

Gets/sets the SQL for selecting records.

UpdateCommand

Gets/sets the SQL for updating records.

Table 22.16: Noteworthy public methods of OleDbDataAdapter objects.

Method

Means

Fill

Adds or refreshes rows to a dataset to make them match the rows in a data store.

Table 22.17: Noteworthy public events of OleDbDataAdapter objects.

Event

Means

RowUpdated

Occurs when a row is updated.

RowUpdating

Occurs when a row is being updated.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor