I'm having an xml file like
<Root>
<Child val1="1" val2="2"/>
<Child val1="1" val2="3"/>
<Child val1="2" val2="4"/>
</Root>
i need to display the data from the Xml file to a Listview like
(Added A
to index value)
Now i'm using like
1.Stores the data in an XmlNodesList
2.Then iterate through the nodeslist
and add the attribute value to the list view
Here i can not use Dictionary<String,String>
as a temporary storage because there exist multiple keys with same name.
Is there any idea to do this using LINQ to XML
.?