'DeclarationPublic Sub Add( _ ByVal item As IDataProvider _ )
public void Add( IDataProvider item )
public: void Add( IDataProvider^ item )
Parameters
- item
- The provider to add.
'DeclarationPublic Sub Add( _ ByVal item As IDataProvider _ )
public void Add( IDataProvider item )
public: void Add( IDataProvider^ item )
DataSet ds1 = CreateDataSet(); DataSet ds2 = CreateOtherDataSet(); // combine the data from ds1 and ds2 into one datasource DataProviderCollection providerCollection = new DataProviderCollection(); providerCollection.Add(new AdoDataProvider(ds1)); providerCollection.Add(new AdoDataProvider(ds2)); LL.DataSource = providerCollection; LL.Design();
Platforms: Windows 10, Windows 11, Windows Server 2016 - 2025
.NET: .NET Framework 4.8, .NET 10, .NET 11