LocalReport.ReportPath Property

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

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<CategoryAttribute("Misc")> _
<NotifyParentPropertyAttribute(True)> _
<DefaultValueAttribute(Nothing)> _
Public Property ReportPath As String
'Usage
Dim instance As LocalReport
Dim value As String

value = instance.ReportPath

instance.ReportPath = value
[CategoryAttribute("Misc")] 
[NotifyParentPropertyAttribute(true)] 
[DefaultValueAttribute(null)] 
public string ReportPath { get; set; }
[CategoryAttribute(L"Misc")] 
[NotifyParentPropertyAttribute(true)] 
[DefaultValueAttribute(nullptr)] 
public:
property String^ ReportPath {
    String^ get ();
    void set (String^ value);
}
/** @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.

Remarks

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

Setting this property will cause the value of the ReportEmbeddedResource property to be ignored.

See Also

Reference

LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace