Joey Lorenzo Pascual
Joey Lorenzo Pascual

Reputation: 25

adding table in visual studio 2015

When I add a new table in a service-based database in visual studio 2010, I just save it and the new table pops up under the tables folder in the mdf.

Now, I'm new to using visual studio 2015. I'm trying to add a new table in visual studio 2015, and when I add a new table and save it, it pops a file dialog prompting me to save it somewhere, which is not the case in visual studio 2010 whenever I save it.

or maybe I did something wrong?

enter image description here

Upvotes: 0

Views: 1756

Answers (2)

Scotland141
Scotland141

Reputation: 335

Click 'Update' just above the table. Then in the 'Preview Database Updates' window that opens, click 'Update Database'. Then in Server Explorer, right-click on Tables folder in the database and click refresh. The table should then appear in this folder.

Upvotes: 0

JC Alberts
JC Alberts

Reputation: 1

There is an UPDATE button just above the fields you have created. Click on UPDATE and after that you need to click on UPDATE TABLE.

Upvotes: 0

Related Questions