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

資料來源檢視在其所屬資料來源控制項的範圍內的唯一名稱。

適用於