I want to programmatically bind an XML file containing some results pulled out from database to my Datagrid. My XML looks like:
I suppose you already have xmldataprovider with your Xml source named myXMLDoc. then you can bind xml data to your WPF controls.
ItemsSource="{Binding Source={StaticResource myXMLDoc}, XPath=row}}" //bind "row" elements to your control