The hierarchical grid architecture built into GridControl is extended by DBBrowserGrid to support binding to hierarchical ADO.NET data sources. DBBrowserGrid can be bound to an ADO.NET data source and data member. When that data source and data member contain parent-child relationships, the hierarchy is detected and displayed, and navigation is enabled. The following types of hierarchical relationships are supported by the grid's ADO.NET data binding architecture:
DataSet / DataTable—When binding to a DataSet, the grid displays child DataTables (if no data member is specified).
DataTable / DataRelation—When two data tables share a DataRelation, the grid displays and enables navigation from parent row to child rows as defined by the DataRelation.
DataViewManager / DataViews—When binding to a DataViewManager with no data member supplied, DBBrowserGrid shows all DataViews contained in the DataViewManager.
The hierarchical data binding capability does not add any new methods to the DBBrowserGrid class. The methods already defined on DBBrowserGrid for flat data sources are extended to detect and display hierarchy without altering those interfaces.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.