Click or drag to resize
ResultCount Method
Count the number of rows in the result set.

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public virtual int Count()

Return Value

Type: Int32
Number of rows in the result set
See Also