I am using VB 2010 Express with a sql server 2008 express database for the first time.
I am using windows authentication.
The Sql server database is on a computer named "NewLaptop".
This connection string works:
Data Source=.\SQLEXPRESS;AttachDbFilename="C:\Program Files\MySqlServer\ServerDBs.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
I want to override the connection string in the load routine of my vb 2010 express program so I can access this database from client computers as well as the server computer over the LAN.
What should the connection string be??
Me.DealershipTableTableAdapter.Connection.ConnectionString = "??"
I am using windows authentication.
The Sql server database is on a computer named "NewLaptop".
This connection string works:
Data Source=.\SQLEXPRESS;AttachDbFilename="C:\Program Files\MySqlServer\ServerDBs.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
I want to override the connection string in the load routine of my vb 2010 express program so I can access this database from client computers as well as the server computer over the LAN.
What should the connection string be??
Me.DealershipTableTableAdapter.Connection.ConnectionString = "??"