Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to programmatically bind a report to an MDB file using a SelectQuery

$
0
0

This example demonstrates how to create a new blank report (an instance of the XtraReport class), bind it to an MDB file, and then, fill the report with a DetailBand containing XRLabels to show obtained data. 

To bind the report to an MDB file, create a SqlDataSource class instance with the required connection parameters. Then, create a SelectQuery to select columns from two data tables using an inner join relation as well as apply sorting, grouping, filtering and aggregation to data. To assign the created data source to the report, use the report's DataSource and DataMember properties.


See Also

How to programmatically bind a report to an MDB file using a CustomSqlQuery 


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>