The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPDataView.LoadData(SelectedData) Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public void LoadData(SelectedData data)
Public Sub LoadData(data As SelectedData)
public void LoadData(SelectedData data)
Public Sub LoadData(data As SelectedData)

Parameters

Name Type Description
data SelectedData

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

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