Can't connect to database [resolved]
Hi guys and gals!
I was wondering if anyone could help me? I'm using a book called "Karl Moore's Visual Basic .NET: The Tutorials" and getting on great with it..... but for one thing!
I can't seem to connect to the database I need to use (I know it works cos I can manually add data to it)
I'm using the following connection string, as prescribed by the book:
Dim objConnection As New SqlClient.SqlConnection _
("server=.;database=KeepFit;trusted_connection=true")
Whenever I try to run this, I just get an error message saying SQL Server does not exist or access denied.
Any help you can give would be very very much appreciated
Thanks