RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSimpleDataSet.Connection Property

Identifies the TSQLConnection component that connects the dataset to a database server.

Pascal
property Connection: TSQLConnection;
C++
__property TSQLConnection Connection;

Use Connection to specify the component that connects this dataset to a database server. TSimpleDataSet can use either an external TSQLConnection component or, if you set the ConnectionName property instead, an internally-created component. By using an external TSQLConnection component, you can let multiple datasets share a single database connection. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!