Reputation: 111
I've created a database Test1
in Microsoft SQL Server Management Studio and I would like to connect this database to my VS C# project. I found this question where are instructions how to connect just system databases (tables master, model, msdb and tempdb). Is there some way how to connect user-created table to my VS project?
Thank you for your answers and I hope that my problem is understandable.
Upvotes: 3
Views: 15799
Reputation: 1981
Probably not the best way, but from Visual Studio:
From here, there are two options depending on whether the database above was created for SQL Server or as a SQL Express file.
OR
You should now see Test1 under data connections in the Server Explorer pane, finally:
Upvotes: 6