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...
LVL 1
gczAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
dosthConnect With a Mentor Commented:
in asp there is no grid view or datagrid, i hope you mean asp.net right?
http://aspnet.4guysfromrolla.com/articles/052902-1.aspx
0
 
gczAuthor Commented:
Sorry, this link didn't really help me. Could you elaborate a little?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
gczAuthor Commented:
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.
0
 
gczAuthor Commented:
Also, sorry I did mean ASP.NET - my bad!
0
 
dosthCommented:
thanks for the point
0
All Courses

From novice to tech pro — start learning today.