LocalReport.ShowDetailedSubreportMessages 屬性
發佈時間: 2016年4月
取得或設定 boolean 值,此值可在子報表中發生錯誤時,指出是否應顯示詳細訊息。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
public bool ShowDetailedSubreportMessages { get; set; }
public:
property bool ShowDetailedSubreportMessages {
bool get();
void set(bool value);
}
member ShowDetailedSubreportMessages : bool with get, set
Public Property ShowDetailedSubreportMessages As Boolean
屬性值
Type: System.Boolean
如果應顯示詳細訊息則為 true,否則為 false。預設值為 true。
備註
This property is useful for debugging subreport errors. If it is set to false, the generic message "An error occurred during subreport processing" is displayed.
注意事項 |
---|
Errors in subreport processing do not affect whether the main report is processed successfully.You can still view and interact with the main report, such as exporting and printing it. |
Changing this property causes the report definition to be updated and the report to be reprocessed.
請參閱
LocalReport 類別
Microsoft.Reporting.WinForms 命名空間
回到頁首