Yin

Yin

  • NA
  • 127
  • 22.3k

CrystalReport in ASP.Net

Oct 11 2012 2:21 AM
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. :/