SADataAdapter(String, SAConnection) constructor

Initializes an SADataAdapter object with the specified SELECT statement and connection.

Syntax
Visual Basic

Public Sub New( _
   ByVal selectCommandText As String, _
   ByVal selectConnection As SAConnection _
)
C#

public  SADataAdapter(
   string  selectCommandText,
   SAConnection selectConnection
);
Parameters
  • selectCommandText   A SELECT statement to be used to set the SADataAdapter.SelectCommand property of the SADataAdapter object.

  • selectConnection   An SAConnection object that defines a connection to a database.

See also