Partilhar via


Propriedade LocalReport.ReportPath

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

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public Property ReportPath As String
public string ReportPath { get; set; }
public:
property String^ ReportPath {
    String^ get ();
    void set (String^ value);
}
member ReportPath : string with get, set
function get ReportPath () : String
function set ReportPath (value : String)

Valor de propriedade

Tipo: String
A String value.

Comentários

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. It also causes the report loaded with LoadReportDefinition to be ignored.

Consulte também

Referência

LocalReport Classe

Namespace Microsoft.Reporting.WebForms