asp.net.ph

OleDbDataAdapter.Dispose Method

System.Data.OleDb Namespace   OleDbDataAdapter Class


Releases the resources used by the OleDbDataAdapter.

Overload List

1. Releases the unmanaged resources used by the OleDbDataAdapter and optionally releases the managed resources.

2. Inherited from Component.


Example

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 ( );
}
  C# VB

See Also

OleDbDataAdapter Class   OleDbDataAdapter Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph