DataSource property (Main Control)
| Builder Syntax | Db::TDataSource* DataSource | 
| Delphi Syntax | DataSource: TDataSource | 
| Overview | Refer to Using a Data Source. | 
Remarks
(Persistent property, available at design time) Sets the data control through which the Main Control is bound to the database.
To bind a control to a field in a database at run time, you must specify a data control in this property at design time. To complete the connection with a database, you must also provide the name of a Field object in the DataField property.
See Also
| Topics: |