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.DataField Property

Specifies the database field from which a data-aware editor retrieves data.

#Declaration

Delphi
property DataField: string read; write;

#Property Value

Type
string

#Remarks

To begin using a dataset you have to set the DataSource and DataField properties. The DataSource property defines dataset links. It is like a conduit between data-aware controls and datasets. To enable editing data from a dataset via an editor you have to:

  1. Place the dataset and data source components onto a form. Set necessary properties for both components;

  2. Assign the editor’s DataSource property to the data source component;

  3. Set the editor’s DataField property to the dataset field name.

See Also