Win Form App, Where the database is being saved in general after install?

When I install my newly deployed windows form application on a client computer where my application database is being saved? My app first install SQL server 2008 to complete installation.

In the Appdata folder there are only default databases. Although my application is running fine but there is no .mdf file of my database name. I want to know where my data is being saved then?

my deployed fodler: my Application files folder:

Did my deploy is correct?


The last time I used localDB in an entity framework app the .mdf files were being saved directly in the C:\Users\<username> directory.


The system database files for the database are stored in the users' local AppData path which is normally hidden. For example C:\Users--user--\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\LocalDBApp1. User database files are stored where the user designates, typically somewhere in the C:\Users\Documents\ folder.

Database for windows form application with sql compact database is saved on C:\Users\Username\AppData\Local\Apps\2.0 folder

Need Your Help

Check existing image in NSDocumentDirectory

iphone ios xcode

I have a picker that saves my image in NSDocumentDirectory, here:

MKMapView tile-based overlay

iphone cocoa-touch mkmapview

I want to draw a tile-based overlay on top of a MKMapView, but there's no obvious way to do this.