OnDataPropertyChanged Method

BaseDataList.OnDataPropertyChanged Method ()

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected virtual void OnDataPropertyChanged()

Exception Condition
HttpException

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

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft