Redigera

Dela via


EntityDataSource.GetView(String) Method

Definition

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

protected:
 override System::Web::UI::DataSourceView ^ GetView(System::String ^ viewName);
protected override System.Web.UI.DataSourceView GetView (string viewName);
override this.GetView : string -> System.Web.UI.DataSourceView
Protected Overrides Function GetView (viewName As String) As DataSourceView

Parameters

viewName
String

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

Returns

The EntityDataSourceView that is associated with the EntityDataSource control.

Implements

Remarks

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.

Applies to