DataControlExtensions.EnableDynamicData 方法

定義

針對指定的資料控制項啟用動態資料行為。

多載

EnableDynamicData(INamingContainer, Type)

針對指定的資料控制項啟用動態資料行為。

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

針對指定的資料控制項啟用動態資料行為。

EnableDynamicData(INamingContainer, Type, Object)

針對指定的資料控制項啟用動態資料行為。

EnableDynamicData(INamingContainer, Type)

針對指定的資料控制項啟用動態資料行為。

public:
[System::Runtime::CompilerServices::Extension]
 static void EnableDynamicData(System::Web::UI::INamingContainer ^ control, Type ^ entityType);
public static void EnableDynamicData (this System.Web.UI.INamingContainer control, Type entityType);
static member EnableDynamicData : System.Web.UI.INamingContainer * Type -> unit
<Extension()>
Public Sub EnableDynamicData (control As INamingContainer, entityType As Type)

參數

control
INamingContainer

要啟用動態資料行為的資料控制項。

entityType
Type

要用於中繼資料的型別。

適用於

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

針對指定的資料控制項啟用動態資料行為。

public:
[System::Runtime::CompilerServices::Extension]
 static void EnableDynamicData(System::Web::UI::INamingContainer ^ control, Type ^ entityType, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ defaultValues);
public static void EnableDynamicData (this System.Web.UI.INamingContainer control, Type entityType, System.Collections.Generic.IDictionary<string,object> defaultValues);
static member EnableDynamicData : System.Web.UI.INamingContainer * Type * System.Collections.Generic.IDictionary<string, obj> -> unit
<Extension()>
Public Sub EnableDynamicData (control As INamingContainer, entityType As Type, defaultValues As IDictionary(Of String, Object))

參數

control
INamingContainer

要啟用動態資料行為的資料控制項。

entityType
Type

要用於中繼資料的型別。

defaultValues
IDictionary<String,Object>

要搭配 INamingContainer 物件使用的預設值。

適用於

EnableDynamicData(INamingContainer, Type, Object)

針對指定的資料控制項啟用動態資料行為。

public:
[System::Runtime::CompilerServices::Extension]
 static void EnableDynamicData(System::Web::UI::INamingContainer ^ control, Type ^ entityType, System::Object ^ defaults);
public static void EnableDynamicData (this System.Web.UI.INamingContainer control, Type entityType, object defaults);
static member EnableDynamicData : System.Web.UI.INamingContainer * Type * obj -> unit
<Extension()>
Public Sub EnableDynamicData (control As INamingContainer, entityType As Type, defaults As Object)

參數

control
INamingContainer

要啟用動態資料行為的資料控制項。

entityType
Type

表示要顯示之資料表的類型。

defaults
Object

要搭配 INamingContainer 物件使用的預設值。

適用於