Back to Devexpress

TcxDBEditDataBinding.DataField Property

vcl-cxdbedit-dot-tcxdbeditdatabinding-a75e4222.md

latest1.2 KB
Original Source

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

TcxDBEditDataBinding.DataSource

TcxDBEditDataBinding Class

TcxDBEditDataBinding Members

cxDBEdit Unit