Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / CurrencyCellType Class / CurrencyCellType Constructor / CurrencyCellType Constructor(String)
Message (as a string) to display if the input value is not valid
Example


In This Topic
    CurrencyCellType Constructor(String)
    In This Topic
    Creates a new currency cell with the specified message to display.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal errorMessage As String _
    )
    'Usage
     
    
    Dim errorMessage As String
     
    Dim instance As New CurrencyCellType(errorMessage)
    public CurrencyCellType( 
       string errorMessage
    )

    Parameters

    errorMessage
    Message (as a string) to display if the input value is not valid
    Example
    This example creates a spreadsheet with 7 columns and 50 rows. It then creates a CurrencyCell object with a message to display if the user enters invalid data. A loop assigns the cells in the first column to be currency cells and places values in them.
    See Also