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

Hi!
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.

Thanks!
LVL 1
lopbandAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Si_HibbardCommented:
SDE is the SQL compact edition which I guess you have installed with VS.

This tutorial may help you with this step -> http://arcanecode.com/2007/04/10/creating-a-sql-server-compact-edition-database-using-visual-studio-server-explorer/
0
lopbandAuthor Commented:
i am not interested in working with this, how do i go back to the old mdf format? because my whole tutorial uses the mdf databases :((
0
Si_HibbardCommented:
Ok, well you will have to create an Access database somewhere. Then goto view - server explorer, click connect to database. Then in the dialog that pops up click change datasource, select Access and point it to your Access mdb file.
0
p1tter_pattterCommented:
You're going about it wrong, in VS 2005 it was different, in VS 2008 its "Service-Based Databases" instead of using "Local Databases".

"Service-Based Databases"  will give you a .mdf and the db diagrams you wrote about.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lopbandAuthor Commented:
Thanks guys!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.