How do I add multiple connection strings to the app.config file? Visual Basic 2005


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How do I add multiple connection strings to the app.config file? Visual Basic 2005

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Johannesburg
    Posts
    3

    How do I add multiple connection strings to the app.config file? Visual Basic 2005

    Hello guys.

    I have a form with 5 textboxes, which will be used to enter the "Connection Nme", "Server Name", "Database Name", "user name", and "password" for the new sql connection string.

    How do I add this new connection to the app.config file so that its stored for future retrieval?

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Moved From The Classic VB section to the .NET section
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Error Catching Visual Basic 2005
    By war4tek in forum .NET
    Replies: 2
    Last Post: 04-23-2007, 02:56 PM
  2. File uploading / objFile.Write problem
    By Tomer Cagan in forum ASP.NET
    Replies: 1
    Last Post: 07-24-2001, 09:01 AM
  3. NullPointerException when reading text file
    By Andrew McLellan in forum Java
    Replies: 3
    Last Post: 05-09-2001, 05:34 PM
  4. Open .xml file in Visual Basic?
    By Jocke in forum XML
    Replies: 1
    Last Post: 01-04-2001, 01:43 PM
  5. Replies: 2
    Last Post: 03-24-2000, 01:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center