combit List & Label 25 - .NET Online Web Help
AddTable(IDataProvider,String) Method


combit.ListLabel25.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.

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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

InMemoryDataProvider Class
InMemoryDataProvider Members
Overload List