I have a datagridView filled with my own object,
the representation of a table.
One of the attribute of my object is a list of childrens i’d like to display as a detailGrid.
So it’s kind of like:
-Main grid = header table
-DetailGrids = Details Table
I’ve binded data this way so far:
dgvHeaders.datasource = lstMyHeaders
You can use the
RowEnterevent to populate the Details Table. TheDataBoundItemproperty gets the list item that the row is bound to.