Jump to content
  • Advertisement
Sign in to follow this  

DataBase Question

This topic is 4491 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=path of .mdb file"); Im trying to learn database programming and figured my best bet was to learn how to do it on a local database (non server etc...) So I decided to use MS Access and I finally found a line a code that allows me to connect to an .mdb file. But it seems that this string "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Documents and Settings\\Franklin Cooper\\Desktop\\testdatabase.mdb" is important to getting this to work. So I tried looking through the MSDN and all the examples with the OldDbConnection class constructer is just a string that the user or coder would input through a function call. So my question is I want to become self productive so where would anyone have found "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=path of .mdb file" in any of the MSDN files. I cant find it anywhere so any one have advice to where I would find it in the MSDN or any other source.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!