Is it possible to create a new data connection without navigating server explorer manually?

114 views Asked by At

I have a local database, and of course it works on other devices but they have to add the data connection that comes with the project themselves (image for reference): Image of data connection in server explorer

I'm in a position where I need to add a new data connection like WorkerLogin.mdf in the above image, but cannot do so by simply navigating server explorer and manually adding it. Is there any way to do this on a form_load event for example or in any programming in VB. This is it for my coursework otherwise.

Thanks in advance for any comments and answers.

0

There are 0 answers