Posted on: 11/19/2012 12:11:12 AM | Views : 357

XmlNodeList xnList = Doc.SelectNodes("QBXML/QBXMLMsgsRs/InvoiceQueryRs/InvoiceRet"); StringBuilder sb = new StringBuilder();
Here 'xnlist' had following xml format.. From there i want to take values to datatable ..(ListID,fullname,billdate)

how can i do for this in looping based....???


<InvoiceRet> <TxnID>30</TxnID> <TimeCreated>2012-11-18T18:26:44</TimeCreated> <TimeModified>2012-11-18T18:26:44</TimeModified> <EditSequence>0</EditSequence> <TxnNumber>30</TxnNumber> <CustomerRef> <ListID>42</ListID> <FullName>Las Angel</FullName> </CustomerRef> <ARAccountRef> <ListID>58</ListID> <FullName>Accounts Receivable (A/R)</FullName> </ARAccountRef> <TxnDate>2012-12-10</ ...

Go to the complete details ...