ComponentOne DataObjects for .NET
ShowMessage Property (C1DataException)

C1.Data.2 Assembly > C1.Data Namespace > C1DataException Class : ShowMessage Property
Gets or sets a value determining whether error message must be displayed by bound controls or it should be suppressed since C1DataObjects already handled the error.
Syntax
'Declaration
 
Public Property ShowMessage As System.Boolean
public System.bool ShowMessage {get; set;}
Remarks
This property is False by default. If an exception generates error messages in bound controls, and you want to suppress them because you already showed an error message or otherwise handled the error in C1DataSet object's C1DataSet.Error event, set this property to true in the C1DataSet.Error event code. This behavior is only supported by data bound controls honoring the ShowMessage property, such as ComponentOne FlexGrid and C1TrueDBGrid.
See Also

Reference

C1DataException Class
C1DataException Members