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

SqlDataSource - How to use ExpressionEvaluator to programmatically filter report data

$
0
0
This example demonstrates how to use the DevExpress.Data.Filtering.Helpers.ExpressionEvaluator.Fit method to programmatically filter the XtraReport's SqlDataSource query. The Fit operation result is used in the band's BeforePrint event handler to allow or cancel rendering of the band content through the e.Cancel property. Please note that the filter expression should be construct according to the Criteria Language Syntax.

Other examples of using DevExpress.Data.Filtering.Helpers.ExpressionEvaluator appear here:
How to get one calculated field value in the other calculated field's GetResult event handler by using ExpressionEvaluator
How to evaluate the calculated field expression
First and last column value

Viewing all articles
Browse latest Browse all 7205

Trending Articles



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