gcz
asked on
Display XML data using ASP (Datagrid or GridView)
Hi,
I need to display contents of an XML file using ASP, either with a DataGrid or GridView object - to be honest I am unsure of the differences between these.
The XML data is exported out of a legacy database we have, and the actual data is held between tags, rather than an attribute of the tag (i.e. <tag> Data Here </tag>).
Please could someone explain how to bind the XML with either a DataGrid or GridView. My knowledge of XML is ok, but knowledge of ASP is very limited.
Thanks in advance...
I need to display contents of an XML file using ASP, either with a DataGrid or GridView object - to be honest I am unsure of the differences between these.
The XML data is exported out of a legacy database we have, and the actual data is held between tags, rather than an attribute of the tag (i.e. <tag> Data Here </tag>).
Please could someone explain how to bind the XML with either a DataGrid or GridView. My knowledge of XML is ok, but knowledge of ASP is very limited.
Thanks in advance...
http://www.csharphelp.com/archives2/archive353.html
ASKER
Sorry, this link didn't really help me. Could you elaborate a little?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks for this. It turns out that the problem was that the XML data being created by our database was not being formed correctly.
The article on the second link has helped me create what I needed. Thanks.
The article on the second link has helped me create what I needed. Thanks.
ASKER
Also, sorry I did mean ASP.NET - my bad!
thanks for the point