Sql Database register using Ado.net

db India
  • 10 years ago

    Hi gurus,

    I have a sql server database at my mechine, I want to copy the .mdf and .ldf to a client mechine, so please tell me how to register the database dinamically using ado.net in vb.net.

    thanks in advance

  • 10 years ago


    I think is better to create a backup file and restored in your client machine.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Beware of bugs in the above code; I have only proved it correct, not tried it.” - Donald Knuth