System.Data.OleDb Namespace OleDbDataAdapter Class
Releases the resources used by the OleDbDataAdapter.
1. Releases the unmanaged resources used by the OleDbDataAdapter and optionally releases the managed resources.
2. Inherited from Component.
The following example initializes an OleDbDataAdapter and then disposes of it.
NOTE: This example shows how to use one of the overloaded versions of Dispose. For other examples that may be available, see the individual overload topics.
void OleDbDataAdapterHereAndGone ( ) {
OleDbDataAdapter myDataAdapter = new OleDbDataAdapter ( );
myDataAdapter.Dispose ( );
}
Public Sub OleDbDataAdapterHereAndGone ( )
Dim myDataAdapter As New OleDbDataAdapter ( )
myDataAdapter.Dispose ( )
End Sub |
|
C# |
VB |
OleDbDataAdapter Class OleDbDataAdapter Members