編輯

共用方式為


PagedDataSource.Count Property

Definition

Gets the number of items to be used from the data source.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Property Value

The number of items to be used from the data source.

Implements

Remarks

Use the Count property to determine the number of items to be used from the data source. The value returned depends on whether paging is enabled and whether custom paging is used.

Note

If the DataSource property contains null, 0 is returned.

Applies to

See also