Share via


Expression Editor (Entity Data Source Control)

The Expression Editor of the ASP.NET EntityDataSource control allows the user to enter textual expressions for OrderBy, Select, Where, and CommandText to determine the data routed to data bound controls. The expression builder dialog boxes are launched when the user clicks on the ellipses next to the OrderBy, Select, Where, and CommandText properties on the EntityDataSource Property Page.

Select

The following illustration shows the builder that is launched when the user clicks on the ellipses next to the Select property in the Property Page.

EntityDataSource expression editor, Select

For more information, see Data Projections (EntityDataSource).

Where

The following illustration shows the builder that is launched when the user clicks on the ellipses next to the Where property. Checking the box also updates the AutoGenerateWhereClause property to True.

EntityDataSource expression editor, Where clause

For more information, see Filtering Data (EntityDataSource).

OrderBy

The following illustration shows the builder that is launched when the user clicks the ellipses next to the OrderBy property in the Property Page. Checking the box also updates the AutoGenerateOrderByClause property to True.

EntityDataSource expression editor, OrderBy

For more information, see Ordering Results (EntityDataSource).

CommandText

The following illustration shows the builder that is launched when the user clicks on the ellipses next to the CommandText property.

EntityDataSource expression editor, Command text

For more information, see Custom Command Text (EntityDataSource).

See Also

Concepts

Toolbox Item (EntityDataSource Control)

Design-Time Control (EntityDataSource Control)

Configure Data Source Wizard (EntityDataSource Control)

Property Page (EntityDataSource Control)

Change History

Date

History

Reason

July 2008

Added topic.

SP1 feature change.