To get the complete filename to your mdf file, use:
string filename = System.IO.Path.Combine(Application.StartupPath, "filename.mdf");
Actually, it's C#. However, it should work with any .NET language.
Actually, it's C#. However, it should work with any .NET language.
Attach remote DB file,Sql Server
No comments:
Post a Comment