Skip to content

DevExpress-Examples/reporting-web-forms-generate-report-dynamically-for-specified-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for ASP.NET Web Forms - How to Dynamically Generate a Report for a Table or Query

This example demonstrates how to use the Web Document Viewer to display the results of the SQL query in the form of a report. The data source query name is specified in the URL query string.

Web Forms - a Report Generated for a Query

In this example the XRTable control in a report is created at runtime based on the query results. The query is created at runtime for the specified table. The user specifies the table name in the URL query string.

In the XtraReport code-behind, the SqlDataSource instance is created and populated with data retrieved from the SQL query. The XRTable control is created in code, with table cells bound to the data table columns.

The project uses the SQLite database with Northwind data.

Files to Review

Documentation

More Examples