Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Connection to database through config file

Connection to database through config file

Scheduled Pinned Locked Moved Visual Basic
csharpc++databasehelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ccotton333
    wrote on last edited by
    #1

    I was wondering if it is possible to use a config file in VB .NET to be used to access a database. I know there is a way in C++, but I'm not sure about VB .NET. If anyone knows how to do this, any help would be appreciated. Thanks ccotton333

    T 1 Reply Last reply
    0
    • C ccotton333

      I was wondering if it is possible to use a config file in VB .NET to be used to access a database. I know there is a way in C++, but I'm not sure about VB .NET. If anyone knows how to do this, any help would be appreciated. Thanks ccotton333

      T Offline
      T Offline
      T Manjaly
      wrote on last edited by
      #2

      YOu can use the config file to keep key/value pairs. Keep the connection string in config. :zzz:----------------------------------------------------------------------:(( T Manjaly My C# Tutorials articles www.dotnetspider.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups