Anonymous1009

Thanks in advance to all who help me with this. I have struggled with it for a few days and so any help is very welcome.

I query a web portal for a specific persons profile and am returned with a file that looks like this. I would like to display this info on a datagrid and am just unable to do so.

< xml version="1.0" encoding="ISO-8859-1" >

- <xdocument userId="XXXX" password="XXXX">
- <xpage name="Orders" pageId="ABC" module=""
xmlmodule="custommod" disclaimer="XXXXXXXXXXXXXX.">
- <xbody>
- <metadata>
<field type="date" tagname="startDate">start Date</field>
<field type="string" tagname="desc">Order</field>
</metadata>
- <data>
- <record linkPage="orderSelected" param="XXXXXXXXXXX">
- <startDate date="20070416">
- <date format="mdy">
<y>07</y>
<m>4</m>
<d>16</d>
</date>
</startDate>
<desc>Pencils</desc>
</record>
- <record linkPage="orderSelected" param="XXXX">
- <startDate date="20070420">
- <date format="mdy">
<y>07</y>
<m>4</m>
<d>20</d>
</date>
</startDate>
<desc>Multiple Vitamins</desc>
</record>



Re: XML and the .NET Framework XML data returned from a query to a Datadrid

yanak-MSFT

I believe this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1568878&SiteID=1 already answered your question but let us know if not -- I have your code showing up in a datagrid and can post that code if you need further help