編輯

共用方式為


DataSourceView(IDataSource, String) Constructor

Definition

Initializes a new instance of the DataSourceView class.

protected:
 DataSourceView(System::Web::UI::IDataSource ^ owner, System::String ^ viewName);
protected DataSourceView (System.Web.UI.IDataSource owner, string viewName);
new System.Web.UI.DataSourceView : System.Web.UI.IDataSource * string -> System.Web.UI.DataSourceView
Protected Sub New (owner As IDataSource, viewName As String)

Parameters

owner
IDataSource

The data source control that the DataSourceView is associated with.

viewName
String

The name of the DataSourceView object.

Exceptions

owner is null.

-or-

viewName is null.

Applies to