Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hello
I did a software with c#.net 2 and I used of sql server 2005, I want to know that:

1. what I need to set in setup.exe that user can work with database?
(I want to know does user must install sql server express inevitable?)

2. where I should locate my data base file in project?
Posted

1 SQLCE is specifically intend as embedded/desktop database.
2 Wherever you want :)

http://www.microsoft.com/sqlserver/2005/en/us/compact.aspx[^]

Cheers
 
Share this answer
 
You can install SQL Express from the install and put the database int a folder. You can then issue an attach as part of the application or at the end of the install.

we have done that int he past for an 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