We help IT Professionals succeed at work.
Get Started

(VS Newbie) Why am i getting .sdf instead of .mdf?

lopband asked
Last Modified: 2013-11-26
I am learning visual studio and C#

going through a tutorial it tells me to right click on the project name, then select add new item, then sql database.. and looking at what he is getting looks like a .mdf database, and under that "Database Diagrams", "views"  etc
but when i try to do the same i dont have those options (i think his example was using 2005 while i am using 2008)

When I right click on the project name, then select add new item, I am only getting the option of "Local database"
once i select that i am getting a .sdf , and no "database diagrams"
(and thus i have no idea how to add a foreign key etc or follow along with the tutorial)

Please help/advise.

Watch Question
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE