Create Labels and Badges
- 2 min to read
This tutorial describes the steps to create a label report that contains employee badges.
Do the following to create a label report:
- Start Microsoft Visual Studio 2010, 2012, 2013, 2015 or 2017 and create a new application under any of the supported platforms, or open an existing one.
- Add a new blank report to it and bind the report to the "Employees" table of the sample Northwind database (the nwind.mdb file shipped with the XtraReports installation).
To invoke the Report Wizard, click the report's smart tag, and in the invoked actions list, click Design in Report Wizard... link.
- The wizard guides you through the process of creating a label report. For detailed instructions on the wizard's steps, refer to Labels.
After performing the above steps you will see that the report's Detail band is now divided into three differently colored areas. The first area at the left-hand side indicates the actual available band area for controls to be placed within it. The gray area at the right-hand side is intended for the columns in which labels will be displayed, so it cannot be occupied by controls. Finally, the white area specifies an indent between the available and reserved areas.
Drop the required fields from the Field List onto the available Detail band's area, and adjust the layout.
Your report is now ready to be generated. In Visual Studio, you can view the report by switching to the Preview tab.