Objective Grid for Microsoft® .NET® Reference Guide

GridControl.GetRowCount Method 

Back to Class Index

Returns the number of rows in the grid.     

[Visual Basic]
Overridable Protected Function GetRowCount() As Integer
[C#]
protected virtual int GetRowCount();

Remarks

    

The GetRowCount function is called whenever the number of rows for the grid is requested. This function can be used to operate the grid in "virtual mode." By overriding this function, the number of rows can be obtained from your own data sources.     

    

See Also

GridControl Class | GridControl Members | Stingray.Grid Namespace