VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / Fill Method / Fill(DataTable) Method
The name of the System.Data.DataTable to use for table mapping.


In This Topic
    Fill(DataTable) 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.DataTable name.
    Syntax
    'Declaration
     
    
    Public Overloads Function Fill( _
       ByVal dataTable As System.Data.DataTable _
    ) As System.Integer
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim dataTable As System.Data.DataTable
    Dim value As System.Integer
     
    value = instance.Fill(dataTable)
    public System.int Fill( 
       System.Data.DataTable dataTable
    )

    Parameters

    dataTable
    The name of the System.Data.DataTable to use for table mapping.

    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.
    Exceptions
    ExceptionDescription
    The source table is invalid.
    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