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)

Syntax

public string ReportPath { get; set; }
public:
property String^ ReportPath {
    String^ get();
    void set(String^ value);
}
member ReportPath : string with get, set
Public Property ReportPath As String

Property Value

Type: System.String

A string value.

Remarks

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.

See Also

LocalReport Class
Microsoft.Reporting.WinForms Namespace

Return to top