Sdílet prostřednictvím


LocalReport.LoadSubreportDefinition-Methode (String, Stream)

Loads a subreport definition using a Stream.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
'Usage

Parameter

  • reportName
    The path and file name of the subreport definition.
  • report
    A Stream class that can be used to read the report definition language (RDL) file for the subreport.

Hinweise

The ReportViewer control requires the definitions for all subreports before it can process a report. If the local report was loaded from the file system by specifying the ReportPath property, the ReportViewer control automatically loads the subreports from the file system. In cases where the local report was not loaded from the file system, these methods may be used to load report definitions for subreports.

Siehe auch

Verweis

LocalReport-Klasse
LocalReport-Member
Microsoft.Reporting.WinForms-Namespace