How can I use my LocalDB on other computers?
SqlConnection connection = new SqlConnection(@"Data Source=(LocalDB)\v.11.0;AttachDbFilename=[DataDirectory]\Database1.mdf;Integrated Security=True");
I tried this but it doesn't work because I get this error:
Local Database Runtime error occurred. Cannot create an automatic instance
Does someone know how to fix this, or what I can do instead?
I don't want to use SQLServer because I am making a program for an offline computer.