When you have a parent-child relation in GridView and try to add a new row in the datasource programmatically, the new row does not appear in the child table. Note: At the first time the row is shown. If you try to add second new row, it does not appear in the grid.