Data.DB.TDataSource
Delphi
TDataSource = class(TComponent)
C++
class PASCALIMPLEMENTATION TDataSource : public System::Classes::TComponent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
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.