共用方式為


CheckBoxField.DataField 屬性

定義

取得或設定要繫結至 CheckBoxField 物件之資料欄位的名稱。

public:
 virtual property System::String ^ DataField { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceBooleanViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public override string DataField { get; set; }
[System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceBooleanViewSchemaConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public override string DataField { get; set; }
[<System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceBooleanViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>]
member this.DataField : string with get, set
[<System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceBooleanViewSchemaConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>]
member this.DataField : string with get, set
Public Overrides Property DataField As String

屬性值

String

要繫結至 CheckBoxField 的資料欄位名稱。 預設為空字串 (""),表示這個屬性未設定。

屬性

備註

DataField使用 屬性可指定要系結至 CheckBoxField 物件的資料欄位名稱。

適用於

另請參閱