Tab

ASPxFilterControlBase.GetFilterExpressionForDataSet() Method

Returns the filter expression for a data source control's FilterExpression property.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public string GetFilterExpressionForDataSet()
Public Function GetFilterExpressionForDataSet As String

Returns

Type Description
String

A string value that represents the filter expression.

Remarks

You can apply the criteria built with the filter control to a data source control via its FilterExpression and SelectCommand properties. To assign the FilterExpression property, use the filter expression returned by the GetFilterExpressionForDataSet function. To extend the SelectCommand property's SQL string with filter criteria, use the filter expression returned by the ASPxFilterControlBase.GetFilterExpressionForAccess, ASPxFilterControlBase.GetFilterExpressionForMsSql, or ASPxFilterControlBase.GetFilterExpressionForOracle function.

See Also