RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdoDbxConnection.Create Constructor ()

Creates a new instance of a TAdoDbxConnection object, which represents an open connection to a specified data source.

Pascal
constructor Create; overload;
constructor Create(const ConnectionString: string); overload;
C++
__fastcall TAdoDbxConnection();
__fastcall TAdoDbxConnection(const AnsiString ConnectionString);

The TAdoDbxConnection object represents a connection to a specified data source. The TAdoDbxConnection object contains the connection string, along with other properties. You need to explicitly open and close connections using the Open and Close methods, respectively. There is no notion in the .NET framework of an implicit open or close operation. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!