问题
Is there any way to render and export an rdl file within a batch process without using SSRS?
I don't want the overhead of SSRS (IIS + database) and instead want to handle this within my own batch/scheduling service.
Thanks
回答1:
You can conceivably use the Report Viewer control in a server process written in managed code. You pass the control a data source (which can be a DataTable memory object), and it will return a byte stream that you can direct into a file.
The control has a UI, but that can be by-passed.
来源:https://stackoverflow.com/questions/645850/process-rdl-rdlc-report-files-without-ssrs