Aside from binding to a data source, you can populate the ASPxDataView control with data items manually.
Data items can be added into the ASPxDataView.Items collection in code behind by using the DataViewItemCollection.Add method. In this case, a custom data object with the required properties should be assigned to the DataViewItem.DataItem property value. The ASPxDataView.Items collection cannot be popularized declaratively.
In this example, an object of an anonymous type with custom data fields is created for each data item. The item template for displaying data items is also created at runtime.
See Also:
ASPxDataView — Binding to Data
How to bind the ASPxDataView control to the data source declaratively
How to bind the ASPxDataView control to the data source at runtime