But if i want to display all columns of xml file in the datagridview? In my example there areone element nested in another,andlast nests these two mentioned. Every element contains attributes, that needs to be displayed in datadridview.I want to display every elements attributes in datagridview.
I want to do that for testing puposes, to comparesuch methodwith retrieving data from relational tables.
There can be a lot of instances of complexes, objects and estimates.
<complex complexid="1" complexname="pavadin" complexUsercode="1" customer="klientas1" contractDate="2007.02.02" contractCode="852432211" contractNumber="821364">
<object objectname="1" objectid="1" objectUsercode="852432211" objectNumber="2">
<estimate estimateID="5" estimateName="pavad" priceLevel="2" estimateUserCode="5646" estimateNumber="5646" />
<estimate estimateID="5" estimateName="pavad" priceLevel="2" estimateUserCode="5646" estimateNumber="5646" />
<estimate estimateID="5" estimateName="pavad" priceLevel="2" estimateUserCode="5646" estimateNumber="5646" />