Getting the relative path to the rdlc report in my winform app.

Posted by Mike Wills on Stack Overflow See other posts from Stack Overflow or by Mike Wills
Published on 2010-04-23T21:28:50Z Indexed on 2010/04/23 21:33 UTC
Read the original article Hit count: 714

I am automatically creating a PDF from some of our reports in a month-end process. I am running into a problem where ReportViewer.LocalReport can't find my report. Within the project, the report files are in "(project root folder)/Reports/report.rdlc". How do I set ReportViewer.LocalReport.ReportPath so I can reference my report file? I would rather not set the full path because I don't know where it would be installed when installed on the client machines.

© Stack Overflow or respective owner

Related posts about reportviewer

Related posts about localreport