How to programmatically connect with server instance through vb.net
I need to connect my database, that resided in the MyData directory of my application folder, to the instance of SQL server on client's machine.  How to do it?

Could any body give me vb.net code for that so my application does it when run for the first time?

Thanks

How to programmatically connect with server instance through vb.net
===

I need to connect my database, that resided in the MyData directory of my application folder, to the instance of SQL server on client's machine.  How to do it?

Could any body give me vb.net code for that so my application does it when run for the first time?

Thanks
