Binding to a Data Source

For design and print List & Label has to have knowledge of a data source. An overview about the available data sources can be found in the section 2.3.1 Data Providers. Of course, additional unbound, custom data can be passed, too. An example for that can be found in 2.5.8 Database Independent Contents.

To bind List & Label to the data source the component provides the property DataSource. The binding can be done either interactively in the development environment by using the property windows or the SmartTags of the component or alternatively on code level:

LL.DataSource = CreateDataSet();

The CreateDataSet() routine in this sample is a placeholder for a method of your application which prepares the DataSet required for the report.