Hello,
I am working with NetAdvantage reporting. I could get the report displayed properly if it is a static report. I wanted to filter the report based on some parameters selected in the controls. How to pass these parameters to XamReportViewer and filter the resultant report based on these selected parameters?
Hi,
When you create/edit a data source you can specify filter conditions that depends on parameters. Take a look at section "Configuring a Query Using Report Parameters" in the documentation for a detailed explanation on how to do that for an SQL Data Source.
Once you do that, when the report is displayed by the XamReportViewer it will automatically show a form with the appropriate controls to specify the parameters values.
Also in the Samples you can see reports that use parameters to do filtering, e.g. OrdersByEmployee and SalesPerformanceByEmployee.
Hope it helps.
Thanks,
Leo
hey Leonardo i create my report with paramter that s work with entity framwork . but i want to make my parameter in other form and send this paramter to report view tks