Adding values in child table in dialogue box

Any one plz help me to share the code of adding values to the child table in custom dialogue box.