แก้ไข

แชร์ผ่าน


IDataSource.DataSourceChanged Event

Definition

Occurs when a data source control has changed in some way that affects data-bound controls.

public:
 event EventHandler ^ DataSourceChanged;
event EventHandler DataSourceChanged;
member this.DataSourceChanged : EventHandler 
Event DataSourceChanged As EventHandler 

Event Type

Remarks

The DataSourceChanged event is raised when the properties of a data-bound control or the underlying data has changed in some way that affects the data bindings between a data-bound control and its data. For example, the event is raised if a file name property, such as the DataFile property, is changed on a file-based data source control.

For more information about how to handle events, see Handling and Raising Events.

Applies to