Solved

Display XML data using ASP (Datagrid or GridView)

Posted on 2008-06-16
6
795 Views
Last Modified: 2008-06-17
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...
0
Comment
Question by:gcz
  • 3
  • 3
6 Comments
 
LVL 15

Expert Comment

by:dosth
ID: 21794876
0
 
LVL 1

Author Comment

by:gcz
ID: 21800818
Sorry, this link didn't really help me. Could you elaborate a little?
0
 
LVL 15

Accepted Solution

by:
dosth earned 500 total points
ID: 21800954
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:gcz
ID: 21805360
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
 
LVL 1

Author Comment

by:gcz
ID: 21805371
Also, sorry I did mean ASP.NET - my bad!
0
 
LVL 15

Expert Comment

by:dosth
ID: 21810364
thanks for the point
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now