Click or drag to resize
DatabaseSelect Method (String, IEnumerableString, DictionaryString, Object, IEnumerableString)
Select data from a table. This is a short cut method that creates an update query and then uses the
query('select')
, table, get, where and exec methods of the query.

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public Result Select(
	string table,
	IEnumerable<string> field = null,
	Dictionary<string, Object> where = null,
	IEnumerable<string> orderBy = null
)

Parameters

table
Type: SystemString
Table name to act upon
field (Optional)
Type: System.Collections.GenericIEnumerableString
Collection of field names to get. If null all fields are returned
where (Optional)
Type: System.Collections.GenericDictionaryString, Object
Where condition for what to select
orderBy (Optional)
Type: System.Collections.GenericIEnumerableString
Order by condition

Return Value

Type: Result
Result instance
See Also