Reporting for Web Forms - How to Create a Report Bound to the ObjectDataSource with Constructor Parameters Linked to Report Parameters
February 13, 2026 ยท View on GitHub
This example creates a report in code, binds it to the object data source with a parameterized constructor, and maps the data source parameters to the report parameters.
The resulting report is shown below.
-
End-User Report Designer for Web:

-
Report Designer Preview:

Files to Review
- Default.aspx (VB: Default.aspx)
- Default.aspx.cs (VB: Default.aspx.vb)
Documentation
- Bind a Report to an Object Data Source
- Create Object Data Source at Runtime (ASP.NET Web Forms)
- Use ObjectDataSource
More Examples
- How to Use the Object Data Source in Web Reporting Applications
- How to bind a report to an object data source
- Reporting for ASP.NET Core - Inject Data from the Entity Framework Core DbContext into a Report Using the Object Data Source
Does This Example Address Your Development Requirements/Objectives?
(you will be redirected to DevExpress.com to submit your response)