Solved

VS 2005 - Using multiple XML files in one XMLdatasource

Posted on 2009-03-30
3
271 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
[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 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

707 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