'Declaration
Protected Overloads Function Fill( _ ByVal dataSet As System.Data.DataSet, _ ByVal startRecord As System.Integer, _ ByVal maxRecords As System.Integer, _ ByVal srcTable As System.String, _ ByVal command As System.Data.IDbCommand, _ ByVal behavior As System.Data.CommandBehavior _ ) As System.Integer
'Usage
Dim instance As VistaDBDataAdapter Dim dataSet As System.Data.DataSet Dim startRecord As System.Integer Dim maxRecords As System.Integer Dim srcTable As System.String Dim command As System.Data.IDbCommand Dim behavior As System.Data.CommandBehavior Dim value As System.Integer value = instance.Fill(dataSet, startRecord, maxRecords, srcTable, command, behavior)
protected System.int Fill( System.Data.DataSet dataSet, System.int startRecord, System.int maxRecords, System.string srcTable, System.Data.IDbCommand command, System.Data.CommandBehavior behavior )
Parameters
- dataSet
- A System.Data.DataSet to fill with records and, if necessary, schema.
- startRecord
- The zero-based record number to start with.
- maxRecords
- The maximum number of records to retrieve.
- srcTable
- The name of the source table to use for table mapping.
- command
- The SQL SELECT statement used to retrieve rows from the data source.
- behavior
- One of the System.Data.CommandBehavior values.
Return Value
The number of rows successfully added to or refreshed in the System.Data.DataSet. This does not include rows affected by statements that do not return rows.