Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Display XML data using ASP (Datagrid or GridView)

Posted on 2008-06-16
6
Medium Priority
?
819 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 2000 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

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!

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

824 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