'Usage Dim command As TdCommand Dim instance As New TdDataAdapter(command)
public: TdDataAdapter( TdCommand^ command )
Parameters
- command
- An instance of TdCommand. SelectCommand property is initialized to this value and is used to fill a DataSet.
'Usage Dim command As TdCommand Dim instance As New TdDataAdapter(command)
public: TdDataAdapter( TdCommand^ command )
Property | Initial Value |
---|---|
AcceptChangesDuringFill | true |
ContinueUpdateOnError | false |
DeleteCommand | null |
InsertCommand | null |
MissingMappingAction | MissingMappingAction.Passthrough |
MissingSchemaAction | MissingSchemaAction.Add |
SelectCommand | selectCommand parameter |
UpdateCommand | null |
The selectCommand parameter initializes the SelectCommand property. See the SelectCommand property to determine how it is used to fill the DataSet. SelectCommand is also used by the TdCommandBuilder to generate DML statements.
public DataSet ExecuteQuery(TdCommand selectCmd) { DataSet ds = new DataSet(); TdDataAdapter adapter = new TdDataAdapter(selectCmd); adapter.Fill(ds); return ds; }
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2