dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniDataAdapter Class / Fill Method / Fill(DataSet,Int32,Int32,String,UniCursor) 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 UniCursor used to retrieve data using Devart.Oracle.OracleDataReader.

Fill(DataSet,Int32,Int32,String,UniCursor) 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 UniCursor.
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 UniCursor _
) 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 UniCursor used to retrieve data using Devart.Oracle.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