VistaDB 5






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

Parameters

selectCommandText
A String that is a SELECT statement to be used by the SelectCommand property of the VistaDBDataAdapter.
connectionString
The connection string.
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