I'm trying to make it so I can use the program where ever I put the folder so it's not just restricted to be in one specific place. This is the connection string i'm using right now
string constring = "Data Source = (LocalDB)\\MSSQLLocalDB;
AttachDbFilename = C:\\Users\\hannes.corbett\\Desktop\\Barcode Scanning\\Barcode Scanning\\BarcodeDB.mdf;
Integrated Security = True";
This connection string works fine and all but as said above I want it to be environmental to where I put it