Sql Database register using Ado.net

db India
  • 11 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

  • 11 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.

“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” - Tom Cargill