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

How to bind the XRChart control to the report's detail data when a report is bound to the ORM(Entity Framework) data source

$
0
0

This example demonstrates how to bind the report's XRChart control to detail data when a report is bound to the collection of data classes. The Entity Framework ORM is used in this example as a report's data source.


The BindingSource controls are used in this example to provide a data class shema to the XtraReport and XRChart control at design time. To provide data to the report at runtime, the DataSourceDemanded event handler is used. The XRChart.BeforePrint event handler is used to get a data object corresponding to the current row and bind the XRChart control to the data.


Note that this example is built on the ASP.NET WebForms technology. However, our XtraReports suite is a cross-platform product, so you can use the same approach in other .NET applications.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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