First
Create an array of rows.
The matrix below will help I guess in naming the textboxes.
TXTXXX1 TXTYYY1 TXTZZZ1 TXTSSS1 TXTWWW1
TXTXXX2 TXTYYY2 TXTZZZ2 TXTSSS2 TXTWWW2
TXTXXX3 TXTYYY3 TXTZZZ3 TXTSSS3 TXTWWW3
TXTXXX4 TXTYYY4 TXTZZZ4 TXTSSS4 TXTWWW4
TXTXXX5 TXTYYY5 TXTZZZ5 TXTSSS5 TXTWWW5
you can run it in a loop with names appended to an integer which gets
incremented with each row getting printed. that way you will get these
unique names.
The same way as you print you can extract the values also.