Click or drag to resize
DatabaseAny Method
Determine if there is any data in the table that matches the query condition

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public bool Any(
	string table,
	Action<Query> where = null
)

Parameters

table
Type: SystemString
Table name to act upon
where (Optional)
Type: SystemActionQuery
Where condition for what to select

Return Value

Type: Boolean
Boolean flag - true if there were rows
See Also