المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : XLinq question



C# Programming
01-21-2010, 07:30 PM
My apologies if something like this has already been asked and answered; I did some Google searching, as well searching on this site, and didn't find it, so here goes. I'm new to the world of .NET 3.5 and Linq. What I have are 1 + n xml files. The first Xml file looks sort of like this:








There are then files in the same directory, whose name matches the guid plus .xml, like so:



Value 1
Value 1
Value 1



What I'd like to be able to do is this: for each file listed in the first xml blob, I want to create an object based on the values in each of the other xml files that look like the 2nd blob, and return that as an IEnumerable. Does anybody know where I can find an example of how to do this?

Thanks in advance.

Jamie Nordmeyer
Portland, Oregon, USA
http://www.feralcodemonkies.com