SQL DB SYNC on HTML button click

I have a requirement where I want to sync two or more then two database on html button click.

Can any one suggest me the link or any clue so that I can start working on this. I know there is one option named Microsoft Sync Framework but I am not getting any samples for the same.