Skip to main content

TcxDBEditDataBinding Class

Represents an editor connection to a data store.

Declaration

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