Spread for ASP.NET 11 Product Documentation
ErrorMessage Property (TextCellType)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > TextCellType Class : ErrorMessage Property
Gets or sets the error message for the cell type. This property is used by the derived classes.
Syntax
'Declaration
 
Public Overridable Property ErrorMessage As String
'Usage
 
Dim instance As TextCellType
Dim value As String
 
instance.ErrorMessage = value
 
value = instance.ErrorMessage
public virtual string ErrorMessage {get; set;}
Example
This example sets the ErrorMessage property.
FarPoint.Web.Spread.TextCellType textcell = new FarPoint.Web.Spread.TextCellType();
textcell.ErrorMessage = "Error";            
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = textcell;
Dim textcell As New FarPoint.Web.Spread.TextCellType()
textcell.ErrorMessage = "Error"
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = textcell
See Also

Reference

TextCellType Class
TextCellType Members