Hi,
1/ I tried to use the ReportParameters collection to pass paramaters to my report but I don't understand when the databinding occurs. I'seem to be directly after the report was created.
I saw on forum's samples that you combine report parameters with the Filters collection to filter results. But I already have a function of my Bussiness Layer that can take two date parameters to reduce data.
So I wan't to pass dates to the report and populating it with my function who take the two dates in parameters. How I can do that? At which place I must define the datasource property? Why isn't there a method Databind?
I tried to use the NeedDataSource event but I don't understand when it is fire.
2/ If the is no data to show, how I can replace the report struct by a simple message text ?
Thanks for yours reponses.