<?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>Πρώτα Βήματα - Desktop Applications</title><link>https://www.dotnetzone.gr:443/cs/forums/80/ShowForum.aspx</link><description>Θέματα για όσους φτιάχνουν τα πρώτα τους Desktop Applications σε .NET Framework</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/52011.aspx</link><pubDate>Fri, 26 Jun 2009 07:52:05 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:52011</guid><dc:creator>sakalis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/52011.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=52011</wfw:commentRss><description>Μη μου τον προκαλείται για καφρίλες (τον pkefal) γιατί έχουμε πιει και κάτι μπύρες.... (xik)&lt;br&gt;γιατί σε λίγο το επόμενο post θα αναφέρει&amp;nbsp; dll γραμένο σε native assembly ( για μέγιστη βελτιστοποίηση) και δε θα το μαζεύουμε....&lt;br&gt;</description></item><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/52008.aspx</link><pubDate>Fri, 26 Jun 2009 04:22:00 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:52008</guid><dc:creator>KelMan</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/52008.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=52008</wfw:commentRss><description>&lt;P&gt;Χα χα... Καφρίλες... Κανένα πρόβλημα από μένα!&lt;/P&gt;</description></item><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/52007.aspx</link><pubDate>Fri, 26 Jun 2009 04:16:04 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:52007</guid><dc:creator>Τάσκος Γιώργος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/52007.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=52007</wfw:commentRss><description>&lt;P&gt;Δεν πήγε καν το μυαλό μου...Hot stuff!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/52004.aspx</link><pubDate>Fri, 26 Jun 2009 01:41:53 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:52004</guid><dc:creator>Panagiotis Kefalidis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/52004.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=52004</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;gtas:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;KelMan:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;P&gt;Ελπίζω να σε πρόλαβα. Μιας και δουλεύεις με VB.NET, υπάρχει και πιο εύκολος τρόπος: &lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Δες και τα How-To που έχει η σελίδα.&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;VB Team++ Καλό αυτό...εμείς παραμένουμε με τα iterations δηλαδή :P&lt;BR&gt;&lt;BR&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Θα μπορούσες να κάνεις reference το assembly&amp;nbsp;στο project σου, using το namespace που περιέχει τον textfieldparser και να τον δουλέψεις κανονικά κι απο C# η οποιαδήποτε άλλη .net γλώσσα.. It's .NET after all &lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-1.gif" alt="Smile" /&gt; (Μην μου αρχίσετε το "κύρηγμα" για καφρίλες κλπ..)&lt;/P&gt;</description></item><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51987.aspx</link><pubDate>Thu, 25 Jun 2009 05:10:04 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51987</guid><dc:creator>Τάσκος Γιώργος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51987.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51987</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;KelMan:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Ελπίζω να σε πρόλαβα. Μιας και δουλεύεις με VB.NET, υπάρχει και πιο εύκολος τρόπος: &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Δες και τα How-To που έχει η σελίδα.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;&lt;br&gt;VB Team++ Καλό αυτό...εμείς παραμένουμε με τα iterations δηλαδή :P&lt;br&gt;&lt;br&gt;</description></item><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51982.aspx</link><pubDate>Thu, 25 Jun 2009 02:05:30 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51982</guid><dc:creator>KelMan</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51982.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51982</wfw:commentRss><description>&lt;P&gt;Ελπίζω να σε πρόλαβα. Μιας και δουλεύεις με VB.NET, υπάρχει και πιο εύκολος τρόπος: &lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Δες και τα How-To που έχει η σελίδα.&lt;/P&gt;</description></item><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51979.aspx</link><pubDate>Thu, 25 Jun 2009 01:14:19 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51979</guid><dc:creator>Αλέξανδρος Δημητρίου</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51979.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51979</wfw:commentRss><description>&lt;P&gt;Σε ευχαριστώ πολύ....Θα προσπαθήσω να το μεταφράσω...&lt;/P&gt;</description></item><item><title>Απ: Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51977.aspx</link><pubDate>Thu, 25 Jun 2009 00:58:14 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51977</guid><dc:creator>Τάσκος Γιώργος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51977.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51977</wfw:commentRss><description>&lt;P&gt;Μπορείς να ξεκινήσεις με αυτο:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DataTable dt &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;new&lt;/SPAN&gt; DataTable();
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;using&lt;/SPAN&gt; (TextReader tr &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;=&lt;/SPAN&gt; File.OpenText(&lt;SPAN style="BACKGROUND-COLOR:#e4e4e4;FONT-FAMILY:Courier New;COLOR:#666666;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;"TabDelimitedFile.txt"&lt;/SPAN&gt;))
{
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;string&lt;/SPAN&gt; line;
                &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;while&lt;/SPAN&gt; ((line &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;=&lt;/SPAN&gt; tr.ReadLine()) !&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;null&lt;/SPAN&gt;)
                {
                    &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;string&lt;/SPAN&gt;[] items &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;=&lt;/SPAN&gt; line.Split('\t');

                    &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:green;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;// Έλεγχος για την δημιουργία τοων DataColumn μία φορά&lt;/SPAN&gt;
                    &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;if&lt;/SPAN&gt; (dt.Columns.Count == 0)
                    {
                        &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:green;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;// Δημιουργία των DataColumns βάση των items &lt;/SPAN&gt;
                        &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;for&lt;/SPAN&gt; (&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;int&lt;/SPAN&gt; i &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;=&lt;/SPAN&gt; 0; i &amp;lt; items.Length; i++)
                            dt.Columns.Add(&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;new&lt;/SPAN&gt; DataColumn(&lt;SPAN style="BACKGROUND-COLOR:#e4e4e4;FONT-FAMILY:Courier New;COLOR:#666666;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;"Column"&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;+&lt;/SPAN&gt; i, &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;typeof&lt;/SPAN&gt;(&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;string&lt;/SPAN&gt;)));
                    }
                    &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:green;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;// Προσθήκη των γραμμών στο DataTable&lt;/SPAN&gt;
                    dt.Rows.Add(items);
                }
            }

            &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;foreach&lt;/SPAN&gt; (DataRow dr &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;in&lt;/SPAN&gt; dt.Rows)
            {
                &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:green;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;// Αν και με string θα έπαιζε με χτυπούσε InvalidCastingException&lt;/SPAN&gt;
                &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:green;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;// έπειδή έπαιρνε System.DBNull σε κάποια "cells" ...στο δικό μου τεστ αρχείο&lt;/SPAN&gt;
                &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:green;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;// που έκανα. Σε σένα μπορεί να παίζει. Αναλόγως την μορφή που το έχεις. &lt;/SPAN&gt;
                &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;foreach&lt;/SPAN&gt; (&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;object&lt;/SPAN&gt; s &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;in&lt;/SPAN&gt; dr.ItemArray)
                    Console.Write(s &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:#e4e4e4;FONT-FAMILY:Courier New;COLOR:#666666;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;"\t"&lt;/SPAN&gt;);
                Console.WriteLine();
            }
            Console.ReadKey();&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;FONT size=2 face=Tahoma&gt;Σε VB δεν ξέρω να γράφω, sorry.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;</description></item><item><title>Txt tab delimited kai dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51973.aspx</link><pubDate>Wed, 24 Jun 2009 21:33:28 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51973</guid><dc:creator>Αλέξανδρος Δημητρίου</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51973.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51973</wfw:commentRss><description>Καλημέρα σε όλους.&lt;br&gt;&lt;br&gt;Υπάρχει η δυνατότητα σε VB&amp;nbsp; να φορτώσω σε datatable ενός dataset, txt tab delimited αρχείο και μετά να ενημερώσω τον πίνακα της βάσης μου με τα δεδομένα αυτά?&lt;br&gt;&lt;br&gt;&lt;br&gt;Ευχαριστώ πολύ.&lt;br&gt;</description></item></channel></rss>