Export (0) Print
Expand All
Expand Minimize

Visual Basic: DataGrid Control

Visual Studio 6.0

ApproxCount Property

See Also   Example   Applies To

Returns the approximate number of rows in the grid.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.


This property returns the approximate row count used by the grid to calibrate the vertical scroll bar.

Typically, the ApproxCount property is used to improve the accuracy of the vertical scroll bar. This is particularly useful for situations where the number of rows is known in advance, such as when a grid is used in conjunction with an array.

Note   Getting the ApproxCount property will query the underlying data source.

© 2014 Microsoft