combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / ITable Interface / Count Property
Example


In This Topic
    Count Property (ITable)
    In This Topic
    This property is queried to receive the number of rows in the table. It will only be accessed if SupportsCount returns true. If your data provider doesn't support counting, you don't need to implement this property and may safely throw a NotImplementedException. Be aware however that you won't get a progress bar during printing in this case.
    Syntax
    'Declaration
     
    
    ReadOnly Property Count As Integer
    int Count {get;}
    property int Count {
       int get();
    }
    Example
    public int Count
    {
        get { return _dataView.Count; }
    }
    Public Readonly Property Count() As Integer
        Get
            Return _dataView.Count
        End Get
    End Property
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also