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.

In This Topic
Fill(DataSet,Int32,Int32,String,UniCursor) Method
In This Topic
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.
See Also