I'm working on a small project to track information. This C# application will take information uploaded via CSV/Excel and store/sort it.
My current connection string is an absolute path (off thumb drive). I'm worried that when I publish it, the database connection won't work on a random users computer.
<add name="PPP_Project.Properties.Settings.Database1ConnectionString"
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=E:\Other PPP Projects\PPP_Project_Test\PPP_Project\Database1.mdf;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />
How do I have this set so it will work when the application is published?