Skip to content

DevExpress-Examples/winforms-grid-load-refresh-detail-data-from-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Data Grid - Dynamically load and refresh detail data from the database

This example shows how to load only the required data on demand when the detail view is open. This can be useful if the grid control is bound to a large set of detailed data and you do not want to load the entire data table. The example also shows how to update the data in the detail view without re-expanding the main row.

  • Handle master-detail-related events to avoid excessive database queries.
  • Reload the underlying data table to refresh a detail view. If the child list implements the IBindingList interface, the corresponding detail view will be automatically refreshed. Otherwise, you should explicitly call the RefreshData method.

Note

Consider using a WinForms Data Grid in server mode.

Files to Review

Documentation

See Also

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)