Solved

VS 2005 - Using multiple XML files in one XMLdatasource

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

825 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