
What is the problem again? well it not much I just want to share about how I can load the *.rdlc file stored outside the Assembly.
Okay, let say my application have the following structure:
App [Folder]By store the report seperate from the App.exe it allow me to make change to the report without having to recompile my app.
- App.exe
+ Reports [Folder]
- Report1.rdlc
To load the report file:
string stRDLCFileName = "Report1.rdlc";Until then it all for now ;)
this.reportViewer1.LocalReport.ReportPath = "Reports\\" + stRDLCFileName;
this.reportViewer1.RefreshReport();