Hi, guys,
My reports are already stored in Crystal enterprise. For some reason, now I want to create a customized website which can view reports from CE. I figured out the following code, but it will always ask users to input parameters. How can I code the parameter in code and thus supress the window? I am using c# for a .net website.
EnterpriseService enterpriseService = enterpriseSession.GetService("PSReportFactory");
Object serviceAsObject = enterpriseService.Interface;
PSReportFactory psReportFactory = (PSReportFactory)serviceAsObject;
int reportIDAsInteger= Convert.ToInt32(reportID);
ReportSource reportSource = psReportFactory.OpenReportSource(reportIDAsInteger);
crystalReportViewer.ReportSource = reportSource
Thanks a lot!!!
My reports are already stored in Crystal enterprise. For some reason, now I want to create a customized website which can view reports from CE. I figured out the following code, but it will always ask users to input parameters. How can I code the parameter in code and thus supress the window? I am using c# for a .net website.
EnterpriseService enterpriseService = enterpriseSession.GetService("PSReportFactory");
Object serviceAsObject = enterpriseService.Interface;
PSReportFactory psReportFactory = (PSReportFactory)serviceAsObject;
int reportIDAsInteger= Convert.ToInt32(reportID);
ReportSource reportSource = psReportFactory.OpenReportSource(reportIDAsInteger);
crystalReportViewer.ReportSource = reportSource
Thanks a lot!!!