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 */
public String get_ReportPath ()

/** @property */
public void set_ReportPath (String value)

public function get ReportPath () : String

public function set ReportPath (value : String)

Property Value

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.