var tecaji = (from xml in doc.Descendants(slazhnmaespace + "tecajnica")
where xml.Attribute("datum").Value == "2010-10-158"
select xml).Elements().Where(a => a.Attribute("oznaka").Value.Equals("TRY")).Select(n => n.Value).SingleOrDefault();
I have dates that are not in the XML file, but value still has to show.
In the table there is no value for the date of 23.10.2010, 24.20.2010. How do you show value for the date 10/22/2010?
Finding the appropriate date, which is najblužjemu to that in the table.
In this XML table is not displayed dates (Saturday - Sunday).
Therefore, to find the nearest date before Saturday and Sunday.
If it is Saturday, the date "02.10.2010" shall be the date of "01/10/2010.
How do I get to that solution?