Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / IsEmpty Method
Example


In This Topic
    IsEmpty Method (DefaultSheetDataModel)
    In This Topic
    Determines whether the data model is empty.
    Syntax
    'Declaration
     
    Public Overrides Function IsEmpty() As Boolean
    'Usage
     
    Dim instance As DefaultSheetDataModel
    Dim value As Boolean
     
    value = instance.IsEmpty()
    public override bool IsEmpty()

    Return Value

    true if the model has no data; false otherwise
    Remarks
    To check if the cell contents are editable, use the IsEditable method.
    Example
    This example binds the DefaultSheetDataModel to a DataTable and the values of the IsColumnBound, IsEditable, IsEmpty and IsRowUsed are returned to a list box.
    See Also