Redigera

Dela via


AccessDataSource.CreateDataSourceView(String) Method

Definition

Creates a data source view object that is associated with the data source control.

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

Parameters

viewName
String

The name of the data source view.

Returns

An AccessDataSourceView object that is associated with the AccessDataSource instance.

Remarks

Classes that derive from the AccessDataSource class can override the CreateDataSourceView method to return strongly typed data source view objects.

Applies to

See also