XPDataView.LoadData(SelectedData) Method
Loads data from the specified result set to the data view.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
data | SelectedData | An SelectedData object which represents a result set, providing data to be loaded into the data view. |
Remarks
The LoadData loads data according to the order of columns within the result set. This order should correspond to the column order specified via the XPDataView.Properties collection. To load data and properly map data view columns to result set columns, use the XPDataView.LoadOrderedData method.
Note
If the number of columns within the XPDataView.Properties collection and data result set do not match, the LoadData method throws an exception.