I attached a database to SqlExpress.then moved the project to another place and deleted the last project(with it's mdf file).now, i can't attach database in new address to SqlExpress.
when i use from following connection:
Code:
Data Source=.\\SQLEXPRESS; AttachDBFileName=|datadirectory|dbName.mdf; Initial Catalog=dbName; Integrated Security=True;User Instance=true