AccessDataSource.CreateDataSourceView Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

protected override SqlDataSourceView CreateDataSourceView(
	string viewName


Type: System.String

The name of the data source view.

Return Value

Type: System.Web.UI.WebControls.SqlDataSourceView

An AccessDataSourceView object that is associated with the AccessDataSource instance.

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

.NET Framework
Available since 2.0
Return to top