Pull XMl with attributes data in a datagrid

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2009
Posts: 25
Reputation: luckyads is an unknown quantity at this point 
Solved Threads: 0
luckyads luckyads is offline Offline
Light Poster

Pull XMl with attributes data in a datagrid

 
0
  #1
Jan 16th, 2009
Hi All!

I want to pull XML with attributes in a datarid with 3 columns viz. "Webisode 1" "Part A" and "Part B".

How can I do it? It's urgent!
The XML is as follows :

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <Webisodes>
  3. <webisode name="Webisode 1" PartA ="1" PartB="1"</webisode>
  4. <webisode name="Webisode 2" PartA ="1" PartB="1"></webisode>
  5. <webisode name="Webisode 3" PartA ="1" PartB="1"></webisode>
  6. <webisode name="Webisode 4" PartA ="1" PartB="1"></webisode>
  7. <webisode name="Webisode 5" PartA ="1" PartB="1"></webisode>
  8. <webisode name="Webisode 6" PartA ="1" PartB="1"></webisode>
  9. <webisode name="Webisode 7" PartA ="1" PartB="1"></webisode>
  10. <webisode name="Webisode 8" PartA ="1" PartB="1"></webisode>
  11. <webisode name="Webisode 9" PartA ="1" PartB="1"></webisode>
  12. <webisode name="Webisode 10" PartA ="1" PartB="1"></webisode>
  13. </Webisodes>

Thanks,
Aditi
Last edited by peter_budo; Jan 16th, 2009 at 6:57 pm. Reason: Code tag correction
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 382 | Replies: 0
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC