views:

12

answers:

1

I'm not really sure how to go about this. I created a generic class to open reports up for my application. The reports are contained in another DLL that is not referenced as an embedded resource though.

If I reference the DLL I can just do:
Viewer.LocalReport.ReportEmbeddedResource = "SomeLibrary.ReportName.rdlc";

However, since I'm not referencing the DLL I figure I have to get the report via reflection. This is where I'm stuck. I'm really not sure how to go about this.

A: 

It looks like it's only possible to load reports this way from the executable assembly. See http://msdn.microsoft.com/en-us/library/microsoft.reporting.webforms.localreport.reportembeddedresource(v=VS.80).aspx for more information.

It may not be possible to load reports this way.

Pieter