Solved

Display XML data using ASP (Datagrid or GridView)

Posted on 2008-06-16
6
802 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

630 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