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


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

Parameters

dataSet
The DataSet to access.
Example
DataSet ds = CreateDataSet();
AdoDataProvider provider = new AdoDataProvider(ds);
LL.DataSource = provider;
LL.Design();
Dim ds As DataSet = CreateDataSet()
Dim provider As New AdoDataProvider(ds)
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