Skip to main content
.NET Framework 4.5.2+

XPDataView.LoadData(SelectedData) Method

Loads data from the specified result set to the data view.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.1.dll

NuGet Package: DevExpress.Xpo


public void LoadData(
    SelectedData data


Name Type Description
data SelectedData

An SelectedData object which represents a result set, providing data to be loaded into the data view.


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.


If the number of columns within the XPDataView.Properties collection and data result set do not match, the LoadData method throws an exception.

See Also