Custom CMS Question

Anyone have a solution for this question:
I have two static CMS pages that write to one database.
CMS 1 - Regular Students
CMS 2 - International Students

I have also have two dynamic CMS pages that allow me to edit the students data in database.
Dynamic CMS 1 -EDIT Regular Students
Dynamic CMS 2 - EDIT International Students

Each CMS have different elements but they write to the same database.

I want the ability to view and edit the data in the corresponding Dynamic CMS page when clicking on row or student name from a table view or repeater.

The table view shows all the students in the database

Example:
If I click on student A(regular student) I want it to send me Dynamic CMS - 1
When I click on student B(International student) I want it to send me to Dynamic CMS - 2