I want to use the database I generated with SQL Server Management Studio in my C# program. The connection string is what I require. Where is my database kept, and where can I get the connection string?
Is it in my papers somewhere, or do I have to publish it or something similar?
using (var conn = new SqlConnection("your connection string to the database"))
I want to get the connection string, but how? Where can I get the connection string that I need to copy and paste into the aforementioned section?
How can I make my database publishable so that Visual Studio can use it? The connection string can then be removed from there, right?