Hi, simple question. I am running SQL Server 2008 R2 Express and a vb.net 2008 express application. However, if I were on a computer that has the full SQL Server 2008 developer, and I created a database instance name of SQLEXPRESS. Is it possible I could still connect to the full Server db file with the same connection string (given that I place the .mdf in the same directory on the machine?).
vb Code:
Dim con As New SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=" & dbfile & ";Integrated Security=True;Connect Timeout=30;User Instance=True") con.Open()


Reply With Quote
