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. how can i connect to microsoft access database

how can i connect to microsoft access database

Scheduled Pinned Locked Moved C#
csharpdatabasequestionannouncement
5 Posts 5 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.
  • U Offline
    U Offline
    User 10434584
    wrote on last edited by
    #1

    i am very new to c# and i want to write a program to manage a small inventory,i will like to know how i can connect to microsoft access database and using oledbAdapter and write code to save,delete and Update my datasource.pls

    Kornfeld Eliyahu PeterK S V H 4 Replies Last reply
    0
    • U User 10434584

      i am very new to c# and i want to write a program to manage a small inventory,i will like to know how i can connect to microsoft access database and using oledbAdapter and write code to save,delete and Update my datasource.pls

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      Let me Google that for you...[^]

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      1 Reply Last reply
      0
      • U User 10434584

        i am very new to c# and i want to write a program to manage a small inventory,i will like to know how i can connect to microsoft access database and using oledbAdapter and write code to save,delete and Update my datasource.pls

        S Offline
        S Offline
        Sivaraman Dhamodharan
        wrote on last edited by
        #3

        The website below has information on how do you connect to different database. I hope it will be useful: http://www.connectionstrings.com/[^]

        Programming Article

        1 Reply Last reply
        0
        • U User 10434584

          i am very new to c# and i want to write a program to manage a small inventory,i will like to know how i can connect to microsoft access database and using oledbAdapter and write code to save,delete and Update my datasource.pls

          V Offline
          V Offline
          V 0
          wrote on last edited by
          #4

          Check here[^] The link to connectionstrings.com is in the article. Although if you can, forget about access. There are free versions of MySQL, PostgreSQL, Oracle and SQL-Server which are far better. hope this helps.

          V.
          (MQOTD rules and previous solutions)

          OriginalGriff wrote:

          V is absolutely right

          1 Reply Last reply
          0
          • U User 10434584

            i am very new to c# and i want to write a program to manage a small inventory,i will like to know how i can connect to microsoft access database and using oledbAdapter and write code to save,delete and Update my datasource.pls

            H Offline
            H Offline
            Hexa How
            wrote on last edited by
            #5

            All you need to to is to add reference into your project, then put this up. using System.Data.OleDb; See this. http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbconnection(v=vs.90).aspx[^]

            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