LocalReport.ReportPath Property


Gets or sets the file system path of the local report.

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

public string ReportPath { get; set; }

Property Value

Type: System.String

A string value.

Set the ReportPath property to cause the ReportViewer control to automatically load any required subreports from the file system.

If this property is set, the value of the ReportEmbeddedResource property is ignored. It also causes the report loaded with LoadReportDefinition to be ignored.

Return to top