Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Feb 16, 1999

ADODB.connection

Question:
I use ADO with an Oracle database. To get the connection I have to use:

 

dim Adodb as New ADODB.connection
with Adodb
     .connectionString = ????
     .open
end with
What do I fill in for the Adodb.connectionString?

Answer:
The ConnectionString property is a concatenation of several properties. A typical ConnectionString for Oracle would be 'Provider=MSDAORA.1;Data Source=local;Persist Security Info=False'. You can set the Provider property separately to 'MSDAORA.1'

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date