Using a relative path for a database file in c#, visual studio 2013
问题 inside my code i am using this command: conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source =C:\Users\ori\Documents\Visual Studio 2013\Projects\maxstar01\Database.accdb"); i am in a team of programmers which we all work on our own computers but everyone are using the same folder name "maxstar01" (which inside there is the solution file and all of it's directories and that database file). so i want to use a relative path which will call the database.accdb that sits