DataSourceView Constructor (IDataSource, String)

 

Initializes a new instance of the DataSourceView class.

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

new : 
        owner:IDataSource *
        viewName:string -> DataSourceView

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: