LocalReport.LoadSubreportDefinition 方法 (String, Stream)

Loads a subreport definition using a Stream.

命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll 中)

语法

声明
用法

参数

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

备注

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 subreport definitions.

另请参见

参考

LocalReport 类
LocalReport 成员
Microsoft.Reporting.WebForms 命名空间