System.Web.UI.WebControls.GridView.OnDataPropertyChanged Method

Rebinds the System.Web.UI.WebControls.GridView control to its data after the DataBoundControl.DataMember, BaseDataBoundControl.DataSource, or DataBoundControl.DataSourceID property is changed.

Syntax

protected override void OnDataPropertyChanged ()

Remarks

The GridView.OnDataPropertyChanged method is a helper method used by the System.Web.UI.WebControls.GridView control to rebind the control to its data after the DataBoundControl.DataMember, BaseDataBoundControl.DataSource, or DataBoundControl.DataSourceID property is changed.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0