Q:

Build referencing wrong database

In my settings, I am using a database called demo.accdb which is in a folder 'demo'. However, when I build my project, it is referencing demo.mdb which is an entirely different database in a different folder.
In my settings tab it is set as:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\demo\demo.accdb. 
Where can I check why it is doing this?

A:

You Can Check App.Config File or Check The Database Explorer to Another Database Is Not Attached With Project.
or 
You Can check  Settings.Designer.vb file in your solution

