Click here to Skip to main content
15,899,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
Am new to C# . i need to create a desktop application using c# 2010 to be distributed to 3 or 4 pc's,
this application should have database to store data
what i should use sql server 2008 or sql compact server????
Posted
Updated 7-Aug-13 12:39pm
v3

It really depends on what do you want to store and how. Nobody will give you a final answer without knowing a good deal of detail. Please see:
http://en.wikipedia.org/wiki/List_of_relational_database_management_systems[^],
http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems[^].

You need to use ADO.NET which provides reasonable good abstraction from particular database management systems. This short and informative CodeProject article will help you to get started pretty quickly: Using ADO.NET for beginners[^].

—SA
 
Share this answer
 
First you have to analyze your requirement and then select the database.
Please see the details:
http://technet.microsoft.com/en-us/library/bb896140.aspx[^]
 
Share this answer
 
SQL Server Compact Edition[^] :jig:

But please try to stay database agnostic so you don't limit yourself down the road.
And don't put data access code in your UI code.
And, most of all, use parameterized queries.
 
Share this answer
 
Comments
ezelden.sahi 9-Aug-13 5:25am    
thanks, any article can i read about how to deal with sql compact edition ???? thanks again.

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