AdoDataProvider

Offers access to data of the following ADO.NET elements:

  DataView 

  DataTable 

  DataViewManager 

  DataSet

The provider can be assigned implicitly by setting the DataSource property to an instance of any of the supported classes. Of course the provider can also be explicitly assigned.

This data provider automatically supports a single level sorting by any field, ascending or descending.

Example:

ListLabel LL = new ListLabel();

AdoDataProvider provider = new AdoDataProvider(CreateDataSet());
LL.DataSource = provider;
LL.Print();
LL.Dispose();