Reporting for WinForms - Create a Report Dynamically and Bind It to a DataSet
February 13, 2026 ยท View on GitHub
This example creates a report dynamically and binds it to a DataSet. Based on a user's choice, either the XRTable or XRLabel control is used to display report data, and the XRChart control is used to visualize this data.

If you want to create a report based on GridControl data, use the ReportGenerator class as described in the following help topic: Advanced Grid Printing and Exporting.
Files to Review
Documentation
- Reporting - Create Reports in Code
- Reporting - Bind a Report to a DataSet
- WinForms Controls - Advanced Grid Printing and Exporting
More Examples
- 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
Does This Example Address Your Development Requirements/Objectives?
(you will be redirected to DevExpress.com to submit your response)