Data Source=(LocalDB)\v11.0;AttachDbFilename=" + AppDomain.CurrentDomain.BaseDirectory.ToString() + "myDB.mdf;Integrated Security=True
Server=.\SQLExpress;AttachDbFilename=C:\MyFolder\MyDataFile.mdf;Database=dbname; Trusted_Connection=Yes;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)