Today I'm making a Local Database that should later function on other computers. Because of that I coded this:
SqlConnection connection = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\Database2.mdf;Integrated Security=True");
Now I can't use the database which is in the normal folder ./repos/WindowsFormsApp and not in ./bin/Debug. How can I navigate out of the debug and bin folder to get to the windowsformsapp folder that I can access the database and use it on other PCs?