My application has installed the .mdf database in AppData / Roaming. Now I need to probably change my path from ConnectionString
to this place. How do I do that?
I read on the internet about using Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
But where do I type this? In% itself with% where is the whole code?
In the file Form1.cs
has this code:
connectionString="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\DatabaseIris.mdf;Integrated Security=True"