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. C#
  4. Retrieving a connection String

Retrieving a connection String

Scheduled Pinned Locked Moved C#
csharpasp-netdatabasevisual-studiohelp
3 Posts 3 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.
  • M Offline
    M Offline
    mohd imran abdul aziz
    wrote on last edited by
    #1

    Hi, Myself imran, I am quite new to dotnet. i am developing web application using asp.net and C#(Visual Studio 2005). i have defined connection string in web-config Can any one help me to know How to Access database using this connetion string. thanks regards imran khan

    G S 2 Replies Last reply
    0
    • M mohd imran abdul aziz

      Hi, Myself imran, I am quite new to dotnet. i am developing web application using asp.net and C#(Visual Studio 2005). i have defined connection string in web-config Can any one help me to know How to Access database using this connetion string. thanks regards imran khan

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Welcome to The Code Project. Please don't post the same question all over the place. Pick the forum that best fits your question.

      --- b { font-weight: normal; }

      1 Reply Last reply
      0
      • M mohd imran abdul aziz

        Hi, Myself imran, I am quite new to dotnet. i am developing web application using asp.net and C#(Visual Studio 2005). i have defined connection string in web-config Can any one help me to know How to Access database using this connetion string. thanks regards imran khan

        S Offline
        S Offline
        sanjaybs2001
        wrote on last edited by
        #3

        OleDbConnection dbConnection; dbConnection = new OleDbConnection(); dbConnection.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0; " + "Data Source = " + Application.StartupPath + "\\Data.mdb";

        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