Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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) 

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)

public override void LoadReportDefinition (
	TextReader report
)
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.

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.

Show:
© 2015 Microsoft