I created a database with VS2015 express when I use this connecion string :
Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename="C:\Users\example\documents\visual studio 2015\Projects\materials summury\Rexnord materials summury\Database1.mdf";Integrated Security=True
The connection is working, but when I use this one :
Data Source=(LocalDB)\MSSQLLocalDB; AttachDbFilename=".\ Database1.mdf";Integrated Security=true;
I got the message : the login failed. can you help me with this relative connection ? Thanks in advance