Child Table Insertion

How to insert the values in child table after clicking the button…can any one suggest me…

This is custom script territory.

Sorry, i will take care of that from the next time.

Can Anybody help me with this issue…Please …I am stucking at this task for more than 3 hours…

What have you tried?