LINQ in Action roller

Join on an attribute.

Hello, I have a request for assistance. I am trying to join elements in my xml doc to get associate colors to highlight a state on a map. Essentially it is laid out like this... Code Snippet 255 0 0 So as you can see what I am trying to do is join the colors/color/attribute "ref" with states/state/attribute id this is what i have as my statement so far... Code Snippet join sC in stateColors.Elements("Info").Elements("States").Elements("State") on state.RegionName equals sC.Attribute("name").Value Read More...
Published Wednesday, January 30, 2008 2:35 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication