there is a solution recipe for inserting multiple records, (a bit old, but it should give you some background.)
insert_multiple_final.swf
Using this principle, i would have a recordset of students displayed in a repeat region, in a form, with for example, a check box next to each student.
(The value for the checkbox in this instance should be the student id in the recordset)
The multiple insert record behavior should allow you to insert rows into the database, only for those students whose names are checked.
If you search through the forums, you should also find examples.