Click here to Skip to main content
15,904,155 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Now I face problem with synchronize data.I write C# with Sql server and I am finding the best way for synchronize data with many branch to HQ.could anyone tell me the best way for solve this problem? I am really dizzy...

waiting to hear from your help...

thank in advanced.
Posted
Updated 8-Feb-15 17:31pm
v2
Comments
PIEBALDconsult 8-Feb-15 23:32pm    
Replication? Log Shipping?
kornkimhour 9-Feb-15 2:29am    
after my branches sale data.the data will automatic send to HQ.if the connection lost,the data will keep in local and it will resend to HQ when it has connection.so do you have an idea about that?
[no name] 8-Feb-15 23:45pm    
Can you please explain what kiind of issue you are facing here? For synchronizing the data means what kind of data you are talking about here? Is it same as I am having a table of data in a database and I want to synchronize the table of data from the production environment in a particular interval of time such as once in a week or month?
kornkimhour 9-Feb-15 2:28am    
after my branches sale data.the data will automatic send to HQ.if the connection lost,the data will keep in local and it will resend to HQ when it has connection.so do you have an idea about that?
[no name] 9-Feb-15 6:03am    
I don't know how you are keeping your data here. I can suggest a way for doing this. Lets assume your data is in XML format. If you are keeping your data in a file for each branch then you can generate one file for each branch. Keep them in a folder and then schedule a console programe in the windows task scheduler which will execute in a particular interval of time and if it finds a file (from any branch) then it will process thedata with the connection and after successfully transfering the data it will delete the file. In this way you can achieve the solution. If there is no connection it will try for a particular instance. you can mention the number of instances that can try for in the task scheduler itself.

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