<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.NET Framework</title><link>https://www.dotnetzone.gr:443/cs/forums/14/ShowForum.aspx</link><description>Θέματα για threading, remoting, reflection, exception handling, security, regex κλπ.</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: DataTable Column σε IEnumerable&lt;&gt; μέσω LINQ ή αλλιώς?</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/50757.aspx</link><pubDate>Sat, 16 May 2009 23:52:05 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:50757</guid><dc:creator>JohnL</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/50757.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=50757</wfw:commentRss><description>Lol.. Τόση ώρα το παίδευα, μόλις έγραψα εδώ το πέτυχα &lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;&lt;br&gt;&lt;br&gt;Το έγραψα έτσι:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;span style="color:Black;background-color:transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;IEnumerable&amp;lt;&lt;span style="color:Blue;background-color:transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;double&lt;/span&gt;&amp;gt; x &lt;span style="color:Red;background-color:transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; from row &lt;span style="color:Blue;background-color:transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;in&lt;/span&gt; dataTable.AsEnumerable()
                        select Double.Parse(row[2].ToString());&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;Βλέπω όμως ότι το x παρά το ότι το δηλώνω ως IEnumerable&amp;lt;double&amp;gt; προκύπτει {System.Data.EnumerableRowCollection&amp;lt;double&amp;gt;}... &lt;br&gt;&lt;br&gt;Ποιά η διαφορά? Υπάρχει περίπτωση να αντιμετωπίσω κανένα πρόβλημα αργότερα?&lt;br&gt;</description></item><item><title>DataTable Column σε IEnumerable&lt;&gt; μέσω LINQ ή αλλιώς?</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/50755.aspx</link><pubDate>Sat, 16 May 2009 23:32:33 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:50755</guid><dc:creator>JohnL</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/50755.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=50755</wfw:commentRss><description>Καλησπέρα,&lt;br&gt;&lt;br&gt;σε ένα πρόγραμμα έχω ένα DataTable, και θέλω να πάρω τη μία στήλη αυτού και να την μετατρέψω σε ένα IEnumerabl&amp;lt;double&amp;gt;.&lt;br&gt;&lt;br&gt;Γίνεται αυτό με LINQ ή κάτι παρόμοιο (χωρίς να τρέξω κάποιο loop) ?&lt;br&gt;</description></item></channel></rss>