Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello, I have an hotel management project.so I build the first hotel. I want to build the same project to the second hotel. The data sure most be not the same. For examples in the form I have 2 buttons first for the first hotel an the other for the second.
How I can ?
In my project I am using SQL server and data base.
Thanks in advance.
Posted
Comments
ZurdoDev 28-May-15 16:36pm    
This really does not make any sense but it sounds like all you need to do is change the connection string.

1 solution

The question does make any sense. You really need to develop only one universal application. It should be data-driven, so none of the peculiarities of any particular hotels or hotel systems or chains should affect the scope of the applications; all hotel-specific stuff should be in data. Different hotels or hotel-specific clients could be configured to some shared database or separate unrelated databases, depending on requirement of your clients. This is pretty much routine work which hardly requires further expert's advice (unless you ask more specific question).

If you did not do that, yous statements "I have a hotel management project" and "I built the first hotel" sound highly exaggerated to me. To me, considering your question, is sounds like you got none so far. It's all right, just the matter of some good work.

—SA
 
Share this answer
 
v2
Comments
Member 11436383 29-May-15 0:14am    
I need to create two hotels the same code.sure I don't need to copy the code and paste them into second.
Sergey Alexandrovich Kryukov 29-May-15 0:29am    
Are you serious? Copy and past code would such lame which I did not even try to think about. What are you talking about?
—SA

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