I am running my project from a USB drive and when I mount the drive, it's not always mounted at the same location.
I get the error message that my database cannot be found when I attempt to run the program.
connection = new OleDbConnection (@"Provider=Mic rosoft.ACE.OLED B.12.0;Data Source=\ExamsHe lper\SysDB.accd b");
This is the location, but I get the error message that it cannot be found at C:\ExamsHelper\ SysDB.accdb. This is not even where my project is located so I'm not sure why it is looking for it in C:\
Which one of these is sufficient?
I get the error message that my database cannot be found when I attempt to run the program.
connection = new OleDbConnection (@"Provider=Mic rosoft.ACE.OLED B.12.0;Data Source=\ExamsHe lper\SysDB.accd b");
This is the location, but I get the error message that it cannot be found at C:\ExamsHelper\ SysDB.accdb. This is not even where my project is located so I'm not sure why it is looking for it in C:\
Which one of these is sufficient?
Comment