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

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: (
public Result Select(
	string table,
	IEnumerable<string> field = null,
	Action<Query> where = null,
	IEnumerable<string> orderBy = null


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: SystemActionQuery
Where condition for what to select
orderBy (Optional)
Type: System.Collections.GenericIEnumerableString
Order by condition

Return Value

Type: Result
Result instance
See Also