Skip to main content

VGridControl.RefreshDataSource() Method

Updates the grid to reflect changes made to a data source.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public virtual void RefreshDataSource()

Remarks

Call the RefreshDataSource method to update data displayed within the grid control. The method reloads all records from the grid’s associated data source for this purpose. Note that calling the method makes sense only when the bound data source doesn’t support the IBindingList interface. Otherwise, the control will automatically update itself, since such data sources provide data change notifications.

See Also