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

LocalReport.ShowDetailedSubreportMessages 屬性

 

發佈時間: 2016年4月

取得或設定 boolean 值,此值可在子報表中發生錯誤時,指出是否應顯示詳細訊息。

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

public bool ShowDetailedSubreportMessages { get; set; }

屬性值

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.

System_CAPS_note注意事項

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.

回到頁首
顯示: