Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
2.67/5 (3 votes)
See more:
Hi everybody,
I would be glad if someone can help me with an issue.
I am planning to make a software for managing a bodybuilding gym, and for the database I am planning to make it in the laptop of the user not in a server, so the question is how can I make sure that the software will be connected to the data base after finishing it(programming in it in another laptop- this means the the soft will be coded in a machine and then move to another machine but for the database connection I guess that there will be a different String in the user laptop). will the soft conect to the databse or do I need to chane something in it.
Another thing: will the user need a dabase management system(SQL Server in my case) or not?
Posted

Although .net application can use xcopy deployment in your case creating a setup package would be the best option. This setup would also install dependencies, such as SQL Server Express, and create the required database while also setting the connection string in the app.config file.

All of this is well documented and can be found if you search for it.
 
Share this answer
 
Comments
CS2011 24-May-11 4:36am    
Why some will downvote this. Seems good enogh to me. my 5
[no name] 24-May-11 8:43am    
Because we have moronic trolls here.
 
Share this answer
 
Comments
[no name] 22-May-11 15:48pm    
Accessing and using SQL Server does not appear to be the OPs problem. Installing the application and creating the database on another machine seems to be the issue.
guendouz bachir 22-May-11 16:54pm    
you can do it by CORBA,DCOM,RMI ... technologies
[no name] 23-May-11 23:44pm    
what are you talking about?

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