Skip to main content

TcxCustomDBDataBinding.DataField Property

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

Declaration

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