Click here to Skip to main content
15,888,018 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All
please Help me

I Develope windows Applcation program by c# 2010
i use LINQ to SQL class to connect data base by SQL 2005
but When i make setup project , database file not exist in project
and can't know how i do database file created in user PC when setup my exe file and how the application connect with database file when run at user PC
Posted
Comments
Zoltán Zörgő 23-Jan-15 14:21pm    
And who will install Sql server instance?

1 solution

If the database is a multi user installation of SQL Server, it's better to install separately from the program. In such case the SQL Server is installed on a server somewhere in the network, once. The client applications then again are installed as many times as needed.

But if you're using SQL Server Compact edition, it's an embedded single user version and can be included in the setup by following the instructions in http://erikej.blogspot.fi/2011/02/using-sql-server-compact-40-with.html[^]
 
Share this answer
 
Comments
ramadan2 23-Jan-15 15:05pm    
Thanx Mika Wendelius
Wendelius 23-Jan-15 16:22pm    
You're welcome :)

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