WebGrid.TotalRowCount 屬性

定義

取得實例包含的資料列 WebGrid 總數。

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

屬性值

格線中的資料列總數。 此值包括每個頁面的所有資料列,但資料項目不足以填入最後一個頁面時,則不包括最後一個頁面中插入的其他資料列。

適用於