Tuesday, August 5, 2008

Reusing ReportViewer WinForm

Spent sometime figuring out that you can't use multiple Reporting services report unless you call the reset method of ReportViewer.

Link:
http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/b039e765-3cc8-43ec-ae67-14b9656bc981/

Quote:

The key is to use the Reset method of ReportViewer.

ReportViewer1.Reset();

I put it above the LocalReport datasource clear/add and it worked!

No comments: