WebGrid.TotalRowCount Property

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

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public ReadOnly Property TotalRowCount As Integer 
    Get
'Usage
Dim instance As WebGrid 
Dim value As Integer 

value = instance.TotalRowCount
public int TotalRowCount { get; }
public:
property int TotalRowCount {
    int get ();
}
member TotalRowCount : int
function get TotalRowCount () : int

Property Value

Type: System.Int32
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.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace