Back to Devexpress

XPO

xtrareports-400273-feature-guide-to-devexpress-reports-bind-reports-to-data-xpo.md

latest1.2 KB
Original Source

XPO

  • Feb 18, 2026

Do the following to bind a report to XPO data:

  1. Define a persistent object class. This is the class that inherits from the PersistentBase class or applies the Persistent attribute.

  2. Create an XPObjectSource object for the persistent object class.

  3. Set the report’s DataSource property to the created XPObjectSource object.

The following tutorials demonstrate how to do this at design time and runtime: