[ToolboxTabName("DX.19.2: ORM Components")]
public class XPDataView :
<ToolboxTabName("DX.19.2: ORM Components")>
Public Class XPDataView
Like an XPView, the XPDataView is intended only as a data source for visual data-aware controls, to display data from result sets. Its main difference from the XPView, XPCollection, and XPCursor, is that the XPDataView does not retrieve data from a data store. Rather, it simply displays the data that is already retrieved from a data store, to a result set.
The data view's columns are stored in the XPDataView.Properties collection. When a new instance of the XPDataView class is created, this collection is empty. So, you should manually populate it and then load the result set data into the data view.
An XPDataView implements the IBindingList and ITypedList interfaces, so it can serve as a data source for a visual data-aware control (for instance, the XtraGrid). For more information and examples on how to use data views, see XPDataView.