EntityDataSource.GetView(String) 方法

定義

取得與資料來源控制相關聯的命名資料來源檢視。

protected:
 override System::Web::UI::DataSourceView ^ GetView(System::String ^ viewName);
protected override System.Web.UI.DataSourceView GetView(string viewName);
override this.GetView : string -> System.Web.UI.DataSourceView
Protected Overrides Function GetView (viewName As String) As DataSourceView

參數

viewName
String

要取回的景觀名稱。 因為控制 EntityDataSource 項只支援一個視角,所以 viewName 會被忽略。

傳回

EntityDataSourceView那個是跟EntityDataSource控制相關聯的。

實作

備註

控制項 EntityDataSource 僅支援一個資料來源檢視。 與所有資料來源檢視物件一樣,與資料來源控制相關聯的 EntityDataSourceView 物件定義其功能,執行所有從底層資料庫擷取資料所需的工作,並執行排序、插入、刪除及更新等操作。

適用於