'Declaration
Protected Overloads Function Fill( _ ByVal dataSet As System.Data.DataSet, _ ByVal srcTable As System.String, _ ByVal dataReader As System.Data.IDataReader, _ ByVal startRecord As System.Integer, _ ByVal maxRecords As System.Integer _ ) As System.Integer
'Usage
Dim instance As VistaDBDataAdapter Dim dataSet As System.Data.DataSet Dim srcTable As System.String Dim dataReader As System.Data.IDataReader Dim startRecord As System.Integer Dim maxRecords As System.Integer Dim value As System.Integer value = instance.Fill(dataSet, srcTable, dataReader, startRecord, maxRecords)
protected System.int Fill( System.Data.DataSet dataSet, System.string srcTable, System.Data.IDataReader dataReader, System.int startRecord, System.int maxRecords )
Parameters
- dataSet
- A System.Data.DataSet to fill with records.
- srcTable
- A string indicating the name of the source table.
- dataReader
- An instance of System.Data.IDataReader.
- startRecord
- The zero-based index of the starting record.
- maxRecords
- An integer indicating the maximum number of records.
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.