VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / Fill Method / Fill(DataTable,IDataReader) Method
A System.Data.DataTable to fill with records.
An instance of System.Data.IDataReader.


In This Topic
    Fill(DataTable,IDataReader) Method
    In This Topic
    Adds or refreshes rows in the System.Data.DataTable to match those in the data source using the System.Data.DataTable name and the specified System.Data.IDataReader.
    Syntax
    'Declaration
     
    
    Protected Overloads Function Fill( _
       ByVal dataTable As System.Data.DataTable, _
       ByVal dataReader As System.Data.IDataReader _
    ) As System.Integer
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim dataTable As System.Data.DataTable
    Dim dataReader As System.Data.IDataReader
    Dim value As System.Integer
     
    value = instance.Fill(dataTable, dataReader)
    protected System.int Fill( 
       System.Data.DataTable dataTable,
       System.Data.IDataReader dataReader
    )

    Parameters

    dataTable
    A System.Data.DataTable to fill with records.
    dataReader
    An instance of System.Data.IDataReader.

    Return Value

    The number of rows successfully added to or refreshed in the System.Data.DataTable. This does not include rows affected by statements that do not return rows.
    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