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.
Namespace: Aliquo.Windows.ControlsAssembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
public static string FilterToSQLFilter(
SfDataGrid grid,
bool useSquareBrackets = true
)
Public Shared Function FilterToSQLFilter (
grid As SfDataGrid,
Optional useSquareBrackets As Boolean = true
) As String
- grid SfDataGrid
- Control SfDataGrid.
- useSquareBrackets Boolean (Optional)
- Indicates whether to use square brackets in field names.
StringString containing the SQL filter expression, or
if there are no filters.