I have an XML file that has multiple levels in it. I have 2 datagridviews and want to display the child in the second one depending on which record is clicked on from the first.
'colums defined here
datagridview1.datasource = mydataset.defaultviewmanager
datagridview1.datamember = "Kit"
datagridview2.datasource = mydataset.defaultviewmanager
datagridview2.datamember = datagridview1.columns("Details").datapropertyname
snippet from XML file:
I have tried different things and all i get in datagridview2 is all of the details of all of the kits. I only want the details from the selected kit. Any help is appreciated.
Thank You !