All Questions
1 question
0
votes
0
answers
691
views
Attaching SQL Server 2008 R2 Express database via C#
I am having trouble attaching a SQL Server 2008 R2 Express database. I have to do it via a .Net exe.
Here is my code
string fileName = @"C:\express\createdb.sql";
ProcessStartInfo psiSqlCmd = new ...