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

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 c#.net.


Thanks,
Posted
Comments
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 asp.net. 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: http://www.c-sharpcorner.com/UploadFile/3cf852/an-introduction-to-sql-server-compact-edition-sqlce-4-0/[^]. 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
 
v2

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