Data binding example
- Last Updated: February 11, 2026
- 3 minute read
- OpenEdge
- Version 13.0
- Documentation
This topic provides step-by-step instructions for creating a data-displaying control and binding it via a ProBindingSource object to an ABL query. The exercise assumes you want your UI to include a data grid that displays the name, city, and state of all customers in the Sports2020 database who live in Texas.
To begin, make sure that you have you have configured both an ABL connection and a SQL connection to the Sports2020 database, and that the database is connected to your project. Also make sure that the DB Structure view is open (if not, select ).
-
To create the data-displaying control, you must create a form
and add a control capable of displaying data:
- Create a new ABL Form container.
- In the Toolbox, select either a DataGrid control or, if you have installed the OpenEdge Ultra Controls for .NET, an UltraGrid. (If you use the UltraGrid, you can just click Finish to dismiss the Quick Start wizard.)
-
To create a binding source object and associate it with the
grid control:
-
To bind to the ABL data source, define a query to retrieve the
records for all customers who live in Texas:
-
To test the data-bound grid control you designed, open the form
in the Visual Designer and click Run
on the main Eclipse
toolbar. The control should display the retrieved records from the
database:
and then