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
report
Type: System.IO.TextReaderA TextReader class that contains the report definition for the local 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
LoadReportDefinition Overload
LocalReport Class
Microsoft.Reporting.WinForms Namespace
Return to top