共用方式為


DataRepeater.DataSourceChanged Event

Occurs when the DataSource property is changed.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'宣告
Public Event DataSourceChanged As EventHandler
public event EventHandler DataSourceChanged
public:
 event EventHandler^ DataSourceChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
member DataSourceChanged : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Remarks

The DataSource property should never change at run time. The DataSource properties of the child controls determine what is displayed at run time.

For more information about how to handle events, see Consuming Events.

.NET Framework Security

See Also

Reference

DataRepeater Class

Microsoft.VisualBasic.PowerPacks Namespace

DataSource

Other Resources

Introduction to the DataRepeater Control (Visual Studio)