inside the for each loop , create a stored procedure activity and pass these item values as a parameter to the procedure.
you can do insert statements inside the stored procedure to write to a table.