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
Apr 27, 2000

Use the Data Environment to Build Connection Strings

If you usually use DSN-less connections with ADO, you know it can sometimes be a pain to figure out the correct connect string. In that case, you can let the VB Data Environment do the work. Start a dummy project, bring up the Data View windows, and connect to the database you're interested in. Add a Data Environment to the project and drag a table to it. Press F4 on the connection to bring up the properties for the connection. The ConnectionSource property then has the connection string you need.
Gary Merrifield
 
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