VS 2005 - Using multiple XML files in one XMLdatasource

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.
jjm108Asked:
Who is Participating?
 
nmarunConnect With a Mentor Commented:
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
 
Bob LearnedConnect With a Mentor Commented:
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
 
jjm108Author Commented:
Thanks for your feedback. Saves me time trying to do figure out how to do something that isn't possible.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.