Solved

VS 2005 - Using multiple XML files in one XMLdatasource

Posted on 2009-03-30
3
260 Views
Last Modified: 2013-11-27
Hello everyone,

I have a CMS that stores data from input forms into individual xml files, one file for each record. Is it possible to configure a an XMLdatasource to use all the xml files in a particular folder as a datasource? I ultimately want to list all the records in a GridView. I'm using MS Visual Studio 2005.

Thank you.
0
Comment
Question by:jjm108
3 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 200 total points
ID: 24027504
I don't believe that an XmlDataSource can do that without a little pre-processing of the XML, so that you have a single entity...
0
 
LVL 27

Accepted Solution

by:
nmarun earned 300 total points
ID: 24028769
No, there's not direct way.

And I think what TheLearnedOne means when he said 'a little pre-processing of the XML' is that you can create an xml string of all the xml files (well-formed, of course) that you have and then assign that as the datasource of your gridview.
0
 

Author Closing Comment

by:jjm108
ID: 31564434
Thanks for your feedback. Saves me time trying to do figure out how to do something that isn't possible.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

17 Experts available now in Live!

Get 1:1 Help Now