DataControlExtensions.EnableDynamicData 方法

定義

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

多載

名稱 Description
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

適用於