Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have just create one desktop application.
and also create setup, than install on my computer.
But i can't understand where is store data in my computer.

i have using sql server as database with

ridoy 12-Oct-12 3:54am    
So do you want to know how to create setup with sql database in C#?

Is suppose, this has nothing to do with Since desktop applications are Windows Forms or WPF (not true for Win8).
As I understood, you don't need an actual server since the only client of it would be the application. That is what embedded servers are for. There are many of them, so you have to choose, but for the simplicity's sake, I suggest trying Microsoft SQL Server Compact edition[^]. And here is a good tutorial how to use it:[^]. Since it needs no separate installation during the deploy process, you can ship all your files and the database using the normal deployment (setup) process you would use for the gui part of your application.
Share this answer

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