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

    Hi,

    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).

Contribute

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.

“The greatest performance improvement of all is when a system goes from not-working to working.” - John Ousterhout