Advertisement

02.26.2008 at 02:55PM PST, ID: 23195397
[x]
Attachment Details

How to read XML members using VB.NET

Asked by intikhabk in Visual Studio .NET 2005, Microsoft Visual Basic.Net, Microsoft Development

Tags: VB.NET, XML

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</CustomerID>
    <EmployeeID>5</EmployeeID>
    <OrderDate>1996-07-04T00:00:00-04:00</OrderDate>
    <RequiredDate>1996-08-01T00:00:00-04:00</RequiredDate>
    <ShippedDate>1996-07-16T00:00:00-04:00</ShippedDate>
    <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</ShipPostalCode>
    <ShipCountry>France</ShipCountry>
    <OrderDet>
      <OrderID>10248</OrderID>
      <ProductID>11</ProductID>
      <UnitPrice>14.0000</UnitPrice>
      <Quantity>12</Quantity>
      <Discount>0</Discount>
    </OrderDet>
    <OrderDet>
      <OrderID>10248</OrderID>
      <ProductID>42</ProductID>
      <UnitPrice>9.8000</UnitPrice>
      <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.NETStart Free Trial
[+][-]02.26.2008 at 03:05PM PST, ID: 20989925

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.26.2008 at 03:14PM PST, ID: 20989982

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.26.2008 at 03:29PM PST, ID: 20990076

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Microsoft Visual Basic.Net, Microsoft Development
Tags: VB.NET, XML
Sign Up Now!
Solution Provided By: vs1784
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628