BaseDataBoundControl.IsDataBindingAutomatic 屬性

定義

取得值,指出資料繫結是否為自動。Gets a value that indicates whether data binding is automatic.

protected public:
 property bool IsDataBindingAutomatic { bool get(); };
protected internal bool IsDataBindingAutomatic { get; }
member this.IsDataBindingAutomatic : bool
Protected Friend ReadOnly Property IsDataBindingAutomatic As Boolean

屬性值

Boolean

如果資料繫結為自動,則為 true;否則為 falsetrue if data binding is automatic; otherwise, false.

備註

如果控制項使用 DataSourceID 屬性,或是控制項使用 SelectMethodUpdateMethodDeleteMethodInsertMethod 屬性進行資料系結,則資料系結會自動進行。Data binding is automatic if the control uses the DataSourceID property or if the control uses SelectMethod, UpdateMethod, DeleteMethod, or InsertMethod properties for data binding.

適用於