SfDataGridBehaviorFilterToSQLFilter(SfDataGrid, Boolean) Method

Converts the filters on the columns in the specified SfDataGrid into a SQL filter expression. Uses MappingName to designate the name of the fields to be evaluated against the filter predicates.

Definition

Namespace: Aliquo.Windows.Controls
Assembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
C#
public static string FilterToSQLFilter(
	SfDataGrid grid,
	bool useSquareBrackets = true
)

Parameters

grid  SfDataGrid
Control SfDataGrid.
useSquareBrackets  Boolean  (Optional)
Indicates whether to use square brackets in field names.

Return Value

String
String containing the SQL filter expression, or if there are no filters.

See Also