WebGrid.TotalRowCount Property

Definition

Gets the total number of rows that the WebGrid instance contains.

public int TotalRowCount { get; }
member this.TotalRowCount : int
Public ReadOnly Property TotalRowCount As Integer

Property Value

The total number of rows in the grid. This value includes all rows from every page, but does not include the additional rows inserted in the last page when there are insufficient data items to fill the last page.

Applies to