combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / InMemoryDataProvider Class / AddTable Method / AddTable(IDataProvider,String) Method

Data provider that contains the new table to be added.

Name of the table in the data provider.

For supporting a different table name use overload AddTable(IDataProvider,String,String) with its alias parameter. This could be useful, if table with the same name exsists in different data providers.



In This Topic
    AddTable(IDataProvider,String) Method
    In This Topic

    Adds a new table from an existing data provider. See also IDataProvider interface.

    Syntax
    'Declaration
     
    
    Public Overloads Sub AddTable( _
       ByVal provider As IDataProvider, _
       ByVal tableName As String _
    ) 
    public void AddTable( 
       IDataProvider provider,
       string tableName
    )
    public:
    void AddTable( 
       IDataProvider^ provider,
       String^ tableName
    ) 

    Parameters

    provider

    Data provider that contains the new table to be added.

    tableName

    Name of the table in the data provider.

    For supporting a different table name use overload AddTable(IDataProvider,String,String) with its alias parameter. This could be useful, if table with the same name exsists in different data providers.

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also