EntityDataSourceView(EntityDataSource, String) 建構函式

定義

初始化該類別的新實例 EntityDataSourceView ,並將指定的 EntityDataSource 控制項設定為目前視圖的擁有者。

public:
 EntityDataSourceView(System::Web::UI::WebControls::EntityDataSource ^ owner, System::String ^ viewName);
public EntityDataSourceView(System.Web.UI.WebControls.EntityDataSource owner, string viewName);
new System.Web.UI.WebControls.EntityDataSourceView : System.Web.UI.WebControls.EntityDataSource * string -> System.Web.UI.WebControls.EntityDataSourceView
Public Sub New (owner As EntityDataSource, viewName As String)

參數

owner
EntityDataSource

物件所關聯的資料來源控制 EntityDataSourceView

viewName
String

在擁有該資料來源控制的範圍內,為資料來源視圖提供獨特的名稱。

適用於