本文為機器翻譯文章。如需檢視英文版,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

LocalReport.ReportEmbeddedResource 屬性

 

發佈時間: 2016年4月

取得或設定報表內嵌資源的名稱。

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

[TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public string ReportEmbeddedResource { get; set; }

屬性值

Type: System.String

String,包含內嵌資源的名稱。

Setting the ReportEmbeddedResource property will cause the ReportViewer control to automatically load any required subreports from an embedded resource.

An embedded report resource is a report definition that has been stored as a resource in the calling assembly.

If the ReportPath property has been set, the ReportEmbeddedResource property is ignored. It also causes the report loaded with LoadReportDefinition to be ignored.

回到頁首
顯示: