Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more: , +
Hello every one.
I have a few questions to ask

1) Can you connect to sql Database/ Can you use sql database in visual studio 2010 ultimate

2) Has LINQ replaced SQL server

3) What is the role of LINQ in visual studio 2010

4) How to connect to database in visual studio 2010. Not asking for code.

Improved question
Thank you mike...

The link you gave me was for visual studio 2005 and 2008, there's no mention of visual studio 2010. So how do i connect to sql database in visual studio 2010.
Posted
Updated 19-Dec-11 2:25am
v3

1 solution

Some answers:
1. You can connect the Visual Studio to a database using for example Server Explorer: http://msdn.microsoft.com/en-us/library/cc440724(v=vs.90).aspx[^]

2. No, LINQ is a mechanism you can use to for example query data from SQL Server (or from objects or XML etc). The data is often stored in a database such as SQL Server. So LINQ isn't an alternative for a database.

3. It's not actually part of Visual Studio but part of .Net framework. Perhaps this would explain more: http://msdn.microsoft.com/en-us/library/bb308959.aspx[^]

4. The link in bullet 1 should answer also this.
 
Share this answer
 
Comments
Mehdi Gholam 18-Dec-11 7:40am    
5'ed
Wendelius 18-Dec-11 12:59pm    
Thanks Mehdi :)
thatraja 18-Dec-11 7:51am    
5!
Wendelius 18-Dec-11 12:59pm    
Thanks thatraja :)
Maazatron 19-Dec-11 8:25am    
Thanks mike... i have improved my question pls check it out...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900