TDataSource = class(TComponent)
class PASCALIMPLEMENTATION TDataSource : public System::Classes::TComponent
TDataSource provides an interface between a dataset component and data-aware controls on a form.
Use TDataSource to:
- Provide a conduit between a dataset and data-aware controls on a form that enable display, navigation, and editing of the data underlying the dataset.
- Link two datasets in a master/detail relationship. All datasets must be associated with a data source component if their data is to be displayed and manipulated in data-aware controls. Similarly, each data-aware control needs to be associated with a data source component in order for the control to receive and manipulate data. Data source components also link datasets in master-detail relationships.