แก้ไข

แชร์ผ่าน


BaseDataList.OnDataPropertyChanged Method

Definition

Called when one of the base data source identification properties is changed, to rebind the data-bound control to its data.

protected:
 virtual void OnDataPropertyChanged();
protected virtual void OnDataPropertyChanged ();
abstract member OnDataPropertyChanged : unit -> unit
override this.OnDataPropertyChanged : unit -> unit
Protected Overridable Sub OnDataPropertyChanged ()

Exceptions

An attempt was made to change the property value during the data-binding phase of the control.

Remarks

The OnDataPropertyChanged method is called to rebind the data-bound control to its data when the DataMember, DataSource, or DataSourceID property changes values after the page's PreRender event.

Applies to

See also