dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleDataAdapter Class / Fill Method / Fill(DataSet,Int32,Int32,String,OracleCursor) Method
A System.Data.DataSet to fill with records.
The zero-based record number to start with.
The maximum number of records to retrieve.
The name of the System.Data.DataTable to use for table mapping.
An OracleCursor used to retrieve data using OracleDataReader.

Fill(DataSet,Int32,Int32,String,OracleCursor) Method
Adds or refreshes rows in a specified range in the System.Data.DataSet to match those in the data source using the System.Data.DataSet, System.Data.DataTable, and OracleCursor.
Syntax
'Declaration
 
Public Overloads Function Fill( _
   ByVal dataSet As DataSet, _
   ByVal startRecord As Integer, _
   ByVal maxRecords As Integer, _
   ByVal srcTable As String, _
   ByVal cursor As OracleCursor _
) As Integer
 

Parameters

dataSet
A System.Data.DataSet to fill with records.
startRecord
The zero-based record number to start with.
maxRecords
The maximum number of records to retrieve.
srcTable
The name of the System.Data.DataTable to use for table mapping.
cursor
An OracleCursor used to retrieve data using OracleDataReader.

Return Value

The number of rows successfully added to or refreshed in the System.Data.DataSet.
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