Data.DB.TDataSource

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