Share via


LocalReport.ReportPath 属性

 

发布时间: 2016年7月

获取或设置本地报表的文件系统路径。

命名空间:   Microsoft.Reporting.WinForms
程序集:  Microsoft.ReportViewer.WinForms(Microsoft.ReportViewer.WinForms.dll 中)

语法

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

属性值

Type: System.String

一个 string 值。

备注

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.

请参阅

LocalReport 类
Microsoft.Reporting.WinForms 命名空间

返回页首