OdbcDataAdapter Constructor (String^, OdbcConnection^)
.NET Framework (current version)
Initializes a new instance of the OdbcDataAdapter class with an SQL SELECT statement and an OdbcConnection.
Assembly: System.Data (in System.Data.dll)
Parameters
- selectCommandText
-
Type:
System::String^
A string that is a SQL SELECT statement or stored procedure to be used by the SelectCommand property of the OdbcDataAdapter.
- selectConnection
-
Type:
System.Data.Odbc::OdbcConnection^
An OdbcConnection that represents the connection.
This implementation of the OdbcDataAdapter can be useful in an application that must call the Fill method for two or more OdbcDataAdapter objects.
The following example creates an OdbcDataAdapter and sets some of its properties.
.NET Framework
Available since 1.1
Available since 1.1
Show: