Simple Label

To print a label, use the project type LlProject.Label. If a data source with multiple tables, such as a DataSet, is connected, the desired data for the label can be selected by the DataMember property.

ListLabel LL = new ListLabel();
LL.DataSource = CreateDataSet();

 

// Products as data source

LL.DataMember = "Products";

 

// Select label as project type

LL.AutoProjectType = LlProject.Label;

 

// Call Designer
LL.Design();

 

// Print

LL.Print();

LL.Dispose();