Question I'm having problems loading a 2nd report into reportvierwiewer

tgf-47

Member
Joined
Feb 16, 2010
Messages
15
Programming Experience
Beginner
I have 2 reports in my project. That is 2 normal microsoft reports.

In reportviewer1, my first report is set to be the default report "rptOne.rdlc"



I want to add a button to my form that when clicked "rptTwo.rdlc" gets loaded and displayed in reportviewer1.



I have tried this, but with no positive results.
VB.NET:
ReportViewer1.LocalReport.ReportEmbeddedResource = "WindowsApplication2.rptTwo.rdlc"
        ReportViewer1.RefreshReport()



Anyone who can figure this out?
 
Top Bottom