Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDBEditDataBinding Class

Represents an editor connection to a data store.

#Declaration

Delphi
TcxDBEditDataBinding = class(
    TcxEditDataBinding
)

#Remarks

The TcxDBEditDataBinding class encapsulates a dataset connection of a data-aware control. Every data-aware control has the DataBinding property to establish a connection. To link to a dataset you have to

  1. Place a dataset (TTable, TQuery for instance) onto a form, adjust appropriate properties and set Active to True.

  2. Place a data source component (TDataSource) onto a form and set its DataSet property to the dataset you placed in step 1.

  3. Place the required data-aware editor onto a form. Set the DataSource property of its DataBinding object to the data source you created in step 2. Set the DataField property of the DataBinding object to the name of a dataset field or select it from the dropdown list in the Object Inspector.

For more information, refer to the Delphi (C++ Builder) documentation.

#Inheritance

See Also