System.Web.UI.WebControls.Expressions Namespace

.NET Framework 4.6 and 4.5

The System.Web.UI.WebControls.Expressions namespace provides classes that enable you to filter data in a Web page by using the QueryExtender control.

This namespace contains expressions that are used with the QueryExtender control to filter data in a Web page using declarative syntax. The classes in this namespace include System.Web.UI.WebControls.Expressions.SearchExpression, System.Web.UI.WebControls.Expressions.RangeExpression, System.Web.UI.WebControls.Expressions.PropertyExpression, System.Web.UI.WebControls.Expressions.OrderByExpression and System.Web.UI.WebControls.Expressions.CustomExpression.

  Class Description
Public class CustomExpression Provides a way to specify a custom LINQ query that is called in response to an event.
Public class CustomExpressionEventArgs Represents the event data for the CustomExpression class.
Public class DataSourceExpression Represents a base class for creating expression classes.
Public class DataSourceExpressionCollection Represents a collection of expressions to apply to a data source control.
Public class MethodExpression Provides a way to specify a custom LINQ query that is defined in a method.
Public class OfTypeExpression Provides a way to filter a query based on a specified type.
Public class OrderByExpression Provides a way to apply a sort expression to an IQueryable object.
Public class ParameterDataSourceExpression Represents an abstract base class for ParameterDataSourceExpression objects.
Public class PropertyExpression Provides a way to create a Where clause from parameters in a WhereParameters collection.
Public class QueryExpression Retrieves instances of a specific entity type by using a complex query.
Public class RangeExpression Provides a way to determine whether a value is greater than or less than a specified value, or whether a value is between two specified values.
Public class SearchExpression Provides a way to search a field or fields for string values and compare them to a specified string value.
Public class ThenBy Provides a way to apply a sort expression to an IQueryable data source object after an OrderByExpression expression is applied.

  Enumeration Description
Public enumeration RangeType Specifies the type of numeric comparison to use in an instance of the RangeExpression class.
Public enumeration SearchType Specifies the type of search in an instance of the SearchExpression class.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft