How to Add Facebook Like Button

My site is VB.NET and the pages load up dynamically with ID= so there are only a few different templates. I would like to get the Facebook like button on each page dynamically so the visitor can have the story post to their Twitter Feed or Facebook page with a click. Does anyone know if or how this can be achieved? Is there a primer online I can reference? Thanks.