|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
LocalReport.LoadReportDefinition Method (TextReader)
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
A TextReader class that can be used to read the report definition language (RDL) file for the report.
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.