Skip to main content
.NET 8.0+

XPDataView.LoadData(SelectedData) Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public void LoadData(
    SelectedData data
)

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.

See Also