Hello,
I've been given a sample XML file in a structure that I haven't handled in VB.NET before (see image below), and would appreciate some guidance.
When I read the xml file in with:
I can see that I've got 3 x tables ... "Interface", "Product", "Value".Code:Dim ds As DataSet = New DataSet("dataset") ds.ReadXml("prod2.xml") With DataGridView1 .DataSource = ds .DataMember = ds.Tables(2).TableName End With
What I'm wondering is how do I get the "Value" table linked to "Product"? I was expecting (rightly or wrongly) to see some inherited values from product displayed in my DataGridView. Looking at the structure of the XML file, it seems to imply that there should be some inheritance???




Reply With Quote