Collect info from a dynamic page

Hi I want to do some searcher web.
Let’s say that I already got a repeater that shows a summary info from a database1. When you click on a button called “more info” the web redirects you to a dynamic page (based on database1) with more detailed info about the object selected in the repeater.
My problem is that I want to add a second button to the repeater that says “Add your comment” and redirects you to a dynamic page based on a database2 (that collects the opinion and send it to the database2) of each user for each object of the database1 showed in the repeater. Do you know if is this possible? and how?
Thank you guys!