0
Answer

CrystalReport in ASP.Net

Yin

Yin

12y
1.6k
1
I can't access my CrystalReportViewer in another web form.
I created a form which has had a Button that will show a report
I have other form in which I placed the CrystalReportViewer
The problem is that I can't access the CrystalReportViewer in

CrystalReportViewer.SetDataSource(ReportDocument)
Note:
CrystalReportViewer is in another web form
I used parameters in which the value I pass in parameters are static

Ex.:
string Test = "Testing";
ReportDocument.SetParameterValue("Parameter", Test);
 (I did not access any table so I don't have to make any Database Connection)

Anyone, help. :/