Share via


LocalReport.LoadReportDefinition Method (TextReader)

 

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

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

Syntax

public override void LoadReportDefinition(
    TextReader report
)
public:
virtual void LoadReportDefinition(
    TextReader^ report
) override
override LoadReportDefinition : 
        report:TextReader -> unit
Public Overrides Sub LoadReportDefinition (
    report As TextReader
)

Parameters

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

LoadReportDefinition Overload
LocalReport Class
Microsoft.Reporting.WinForms Namespace

Return to top