Delen via


LocalReport.LoadReportDefinition Method (TextReader)

Loads a report definition from the local file system using a TextReader.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Overrides Sub LoadReportDefinition ( _
    report As TextReader _
)
'Usage
Dim instance As LocalReport
Dim report As TextReader

instance.LoadReportDefinition(report)
public override void LoadReportDefinition (
    TextReader report
)
public:
virtual void LoadReportDefinition (
    TextReader^ report
) override
public void LoadReportDefinition (
    TextReader report
)
public override function LoadReportDefinition (
    report : TextReader
)

Parameters

  • report
    A TextReader class that can be used to read the report definition language (RDL) file for the report.

Remarks

The LoadReportDefinition method can be used in cases where the report definition is dynamically generated.

If the loaded report definition contains any subreports, you must call LoadSubreportDefinition and provide data for any subreports.

See Also

Reference

LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace