System.Web.UI.WebControls.AccessDataSource.CreateDataSourceView Method

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

Syntax

protected override SqlDataSourceView CreateDataSourceView (string viewName)

Parameters

viewName
The name of the data source view.

Returns

An System.Web.UI.WebControls.AccessDataSourceView object that is associated with the System.Web.UI.WebControls.AccessDataSource instance.

Remarks

Classes that derive from the System.Web.UI.WebControls.AccessDataSource class can override the AccessDataSource.CreateDataSourceView(string) method to return strongly typed data source view objects.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0