Link to home
Create AccountLog in
Avatar of gcz
gczFlag for United Kingdom of Great Britain and Northern Ireland

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...
Avatar of dosth
dosth
Flag of India image

Avatar of gcz

ASKER

Sorry, this link didn't really help me. Could you elaborate a little?
ASKER CERTIFIED SOLUTION
Avatar of dosth
dosth
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of gcz

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.
Avatar of gcz

ASKER

Also, sorry I did mean ASP.NET - my bad!
thanks for the point