Skip to main content
A newer version of this page is available. .

VGridControl.RefreshDataSource() Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v19.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RefreshDataSource() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also