Issues with Child Table in Web form

Same issue I am facing
it is generating primary key as row 1, row 2, etc and soon you will face duplicate primary key issue

My post