I have a website that has one database
I have also Desktop apps that have database
I want to replicate the data from the desktop apps databases to website database,
In other word the desktop apps will act as Publishers and distributers and the website will act as a subscriber .It is a central subscriber scenario.
My question is How can I do this ,I mean Is it done through code (RMO or someotherway) or Sql Server 2008 (Transct-SQL)
And How can I add the replication with setup of the desktop app?
and How can I configure website database for replication ?
Please Help me
I have never work on replication before.
I just want someone to explain to me the correct method or way of doing this .
Just main points as a guideline and I will figure out the rest myself

I think that writing your own solution with SMO or fully ground-up would be too much overhead.
Have you had a look yet at
Web Synchronization for Merge Replication? It’s basically the classic SQL Server pusblisher/subsriber merge replication, but done over Web, through IIS.You can even set some of your articles read-only at the publisher so the modifications you will make in them at the subscriber will not be brought back (something to emulate transactional replication, if you want to).