VistaDB 5






VistaDB.Provider Namespace > VistaDBDataAdapter Class > VistaDBDataAdapter Constructor : VistaDBDataAdapter Constructor(String,VistaDBConnection)
A String that is a SELECT statement to be used by the SelectCommand property of the VistaDBDataAdapter.
A VistaDBConnection that represents the connection.
VistaDBDataAdapter Constructor(String,VistaDBConnection)
Initializes a new instance of the VistaDBDataAdapter class with a SelectCommand and a VistaDBConnection object.
Syntax
'Declaration
 
Public Function New( _
   ByVal selectCommandText As System.String, _
   ByVal conn As VistaDBConnection _
)
'Usage
 
Dim selectCommandText As System.String
Dim conn As VistaDBConnection
 
Dim instance As New VistaDBDataAdapter(selectCommandText, conn)
public VistaDBDataAdapter( 
   System.string selectCommandText,
   VistaDBConnection conn
)
public VistaDBDataAdapter( 
    selectCommandText: System.String;
    conn: VistaDBConnection
); 
public function VistaDBDataAdapter( 
   selectCommandText : System.String,
   conn : VistaDBConnection
);
public: VistaDBDataAdapter( 
   System.string* selectCommandText,
   VistaDBConnection* conn
)
public:
VistaDBDataAdapter( 
   System.String^ selectCommandText,
   VistaDBConnection^ conn
)

Parameters

selectCommandText
A String that is a SELECT statement to be used by the SelectCommand property of the VistaDBDataAdapter.
conn
A VistaDBConnection that represents the connection.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also