Viewing reports

Parent Previous Next

 

Report Application Server .NET SDK Developer Guide

Viewing reports


 







After making changes to a report using the ReportClientDocument class, you may want to display the modified report at runtime to the user. Use the ReportClientDocument object directly or its ReportSource property to pass a report source to the viewer.

NoteNote

The CrystalReportViewer Web form class is part of the CrystalDecisions.Web namespace. For details on customizing the viewer, see the Crystal Reports .NET Developer Guide.

Visual Basic

Private Sub ViewReport(ByVal rcd As ReportClientDocument, ByVal viewer As CrystalReportViewer)
  viewer.ReportSource = rcd;
End Sub

C#

private void ViewReport(ReportClientDocument rcd, CrystalReportViewer viewer)
{
 viewer.ReportSource = rcd;
}

This list includes the namespaces used by the sample code:

© 2021 SAP AG. All rights reserved.

http://www.sap.com/sapbusinessobjects/

Support services

http://service.sap.com/bosap-support/

Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily