I need to update existing data or insert new data from client database say DB1 into central database say DB2 both holding same schema and both databases reside in same machine.
The updates are not biderectional. I just want changes to be reflected from client(DB1) to server(DB2).
The client database(DB1) is nothing but the backup database(Full database backup consisting of mdf and ldf files) of DB2.The backup database(DB1) already has the modified data when synchronize.
So how do i do programatically using C# .NET?Can you give any example code?
I googled about it and saw Microsoft Syn Framework but I don’t know how to use it programmatically in C#.
Can you help me with sample code,please?
Sorry for my English.
Thanks in advance.
Use database mirror concept below i mentioned steps to acheive mirroring below are the steps
use below link understand clearly
http://blogs.msdn.com/b/suhde/archive/2009/07/13/step-by-step-guide-to-configure-database-mirroring-between-sql-server-instances-in-a-workgroup.aspx