Gridview with Images from other gird (nested)

hi guys… please help me. i need to have a nested grid. the master grid is from 1 table then the detail grid is from another table, i need to show the record from first table on the first grid then the image from another table on the next grid, associated with a foreign key here’s the layout. please check the pictures i attached… thank u!

i’ve created the grid with link image in the nested grid, but the problem is it shows all the images from the link grid. please refer to my attached images.

please help… thank u very much!

help.png

help2.jpg