I have a XML File xml file created in the Master-Details Fashion. One order and multiple order details.
<NewDataSet>
<Ord>
<OrderID>10248</OrderID>
<CustomerID>VINET</Custome
rID>
<EmployeeID>5</EmployeeID>
<OrderDate>1996-07-04T00:0
0:00-04:00
</OrderDat
e>
<RequiredDate>1996-08-01T0
0:00:00-04
:00</Requi
redDate>
<ShippedDate>1996-07-16T00
:00:00-04:
00</Shippe
dDate>
<ShipVia>3</ShipVia>
<Freight>32.3800</Freight>
<ShipName>Vins et alcools Chevalier</ShipName>
<ShipAddress>59 rue de l'Abbaye</ShipAddress>
<ShipCity>Reims</ShipCity>
<ShipPostalCode>51100</Shi
pPostalCod
e>
<ShipCountry>France</ShipC
ountry>
<OrderDet>
<OrderID>10248</OrderID>
<ProductID>11</ProductID>
<UnitPrice>14.0000</UnitPr
ice>
<Quantity>12</Quantity>
<Discount>0</Discount>
</OrderDet>
<OrderDet>
<OrderID>10248</OrderID>
<ProductID>42</ProductID>
<UnitPrice>9.8000</UnitPri
ce>
<Quantity>10</Quantity>
<Discount>0</Discount>
</OrderDet>
</Ord>
</NewDataSet>
How do I read the data from the Ord and also the OrderDet.. How do I read any field i want using VB.NET
Start Free Trial