This example illustrates how to create a report in code.
The following steps are essential to create a report layout:
1. Create a report instance and bind it to data.
2. Add required bands to the report.
3. Add required controls to the created bands and provide data to them.
After the report layout is complete, you can generate the report document and display it in a Print Preview.
See also:
- How to dynamically generate a master-detail report in a WinForms application
- How to dynamically generate a report and bind it to a collection of objects in a WinForms application
- How to create a report dynamically
Question Comments
Added By: Daniel Kaminski at: 7/7/2015 8:52:01 AM
Please update this project to .NET 4.0. It will not compile in .NET 3.5
Added By: Jannet (DevExpress Support) at: 7/8/2015 3:38:29 AM Hello Daniel,Thanks for pointing this out. I have updated the example solution for the 13.1.4 — 15.2.2 builds. Feel free to let me know if I can be of further help.