LocalReport.ReportPath 屬性

 

發佈時間: 2016年4月

取得或設定本機報表的檔案系統路徑。

命名空間:   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

tring 值。

備註

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 命名空間

回到頁首