TcxDBEditDataBinding.DataSource Property
In This Article
Specifies the dataset link.
#Declaration
Delphi
property DataSource: TDataSource read; write;
#Property Value
Type |
---|
TData |
#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:
Place the dataset and data source components onto a form. Set necessary properties for both components;
Assign the editor’s DataSource property to the data source component;
Set the editor’s DataField property to the dataset field name.
See Also