共用方式為


LocalReport.ReportPath 屬性

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

命名空間:  Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)

語法

'宣告
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)

屬性值

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