Skip to main content

TcxDBEditDataBinding.DataSource Property

Specifies the dataset link.

Declaration

property DataSource: TDataSource read; write;

Property Value

Type
TDataSource

Remarks

To begin working with 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