Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EntityDataSource.GetView Method

Gets the named data source view that is associated with the data source control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

protected override DataSourceView GetView(
	string viewName
)

Parameters

viewName
Type: System.String

The name of the view to retrieve. Because the EntityDataSource control supports only one view, viewName is ignored.

Return Value

Type: System.Web.UI.DataSourceView
The EntityDataSourceView that is associated with the EntityDataSource control.

The EntityDataSource control supports only one data source view. Like all data source view objects, the EntityDataSourceView object that is associated with the data source control defines its capabilities, performs all work that is necessary to retrieve data from the underlying database, and performs operations, such as sorting, inserting, deleting, and updating.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft