Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
HI,

I've a windows application which gets deployed on client machines.

The application comprises of few reports, and for that I'm using rdlc report in the same application.

Now i need to access a public method from the same application in report to display calculated data.

Since the method is too complex (uses many system assembly functions), it can't be added in code tab of the report.

Here, I do not have a different reporting service. Reports are the integral part of the application.

Kindly suggest asap.

Thanks,
Abhishek
Posted

Calculate the data in C# and pass it to reports as a parameter (Setting the parameter where you are using reportViewer)
 
Share this answer
 
create and compile a dll with your function that need to be imported in the rdlc to process the data
then
open the report.rdlc in the project using visual studio now in the report menu open the report properties then add the reference of the dll you created

that's it now you can use the function for further refernece see the link[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900