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
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