combit List & Label 24 - .NET Online Web Help
AdoDataProvider Constructor(DataTable)
Example 


combit.ListLabel24.DataProviders Namespace > AdoDataProvider Class > AdoDataProvider Constructor : AdoDataProvider Constructor(DataTable)
The DataTable to access.
Initializes the data provider to access the data of the passed DataTable.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataTable As DataTable _
)
public AdoDataProvider( 
   DataTable dataTable
)
public:
AdoDataProvider( 
   DataTable^ dataTable
)

Parameters

dataTable
The DataTable to access.
Example
DataTable dt = CreateDataTable();
AdoDataProvider provider = new AdoDataProvider(dt);
LL.DataSource = provider;
LL.Design();
Dim dt As DataTable = CreateDataTable()
Dim provider As New AdoDataProvider(dt)
LL.DataSource = provider
LL.Design()
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

AdoDataProvider Class
AdoDataProvider Members
Overload List