DataBase Question
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement