Επεξεργασία

Κοινή χρήση μέσω


Repeater.OnDataSourceViewChanged(Object, EventArgs) Method

Definition

Sets the RequiresDataBinding property to true.

protected:
 virtual void OnDataSourceViewChanged(System::Object ^ sender, EventArgs ^ e);
protected virtual void OnDataSourceViewChanged (object sender, EventArgs e);
abstract member OnDataSourceViewChanged : obj * EventArgs -> unit
override this.OnDataSourceViewChanged : obj * EventArgs -> unit
Protected Overridable Sub OnDataSourceViewChanged (sender As Object, e As EventArgs)

Parameters

sender
Object

The source of the event.

e
EventArgs

An EventArgs object that contains the event data.

Remarks

The OnDataSourceViewChanged method is a helper method that participates in the data binding process. This method is called when the DataSourceView object that is associated data source control raises its DataSourceViewChanged event. The event causes the Repeater control to bind data to the updated data.

Applies to

See also