LocalReport.ShowDetailedSubreportMessages-Eigenschaft
Ruft einen boolean-Wert ab oder legt einen fest, der angibt, ob detaillierte Nachrichten angezeigt werden sollen, wenn ein Fehler in einem Unterbericht auftritt.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
'Declaration
Public Property ShowDetailedSubreportMessages As Boolean
public bool ShowDetailedSubreportMessages { get; set; }
public:
property bool ShowDetailedSubreportMessages {
bool get ();
void set (bool value);
}
member ShowDetailedSubreportMessages : bool with get, set
function get ShowDetailedSubreportMessages () : boolean
function set ShowDetailedSubreportMessages (value : boolean)
Eigenschaftswert
Typ: Boolean
true, wenn detaillierte Nachrichten angezeigt werden sollen, andernfalls false.Die Standardeinstellung ist true.
Hinweise
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.
Hinweis
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.