DataSourceView Constructor (IDataSource, String)

 
System_CAPS_noteNote

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

Initializes a new instance of the DataSourceView class.

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

protected DataSourceView(
	IDataSource owner,
	string viewName
)

Parameters

owner
Type: System.Web.UI.IDataSource

The data source control that the DataSourceView is associated with.

viewName
Type: System.String

The name of the DataSourceView object.

Exception Condition
ArgumentNullException

owner is null.

- or -

viewName is null.

.NET Framework
Available since 2.0
Return to top
Show: