<?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>ADO.NET</title><link>https://www.dotnetzone.gr:443/cs/forums/78/ShowForum.aspx</link><description>Θέματα σχετικά με την προσπέλαση δεδομένων μέσω του ADO.NET και του System.Data namespace</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: tableadapter και UpdateBatchSize</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/18501.aspx</link><pubDate>Thu, 12 Oct 2006 03:49:31 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:18501</guid><dc:creator>xterm</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/18501.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=78&amp;PostID=18501</wfw:commentRss><description>Ακριβώς αυτό ήθελα σε ευχαριστώ πολυ</description></item><item><title>Απ: tableadapter και UpdateBatchSize</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/18495.aspx</link><pubDate>Thu, 12 Oct 2006 02:23:11 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:18495</guid><dc:creator>KelMan</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/18495.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=78&amp;PostID=18495</wfw:commentRss><description>&lt;P&gt;Μπορείς να συμπληρώσεις τον κώδικα του designer ώστε να προσθέσεις αυτό το property και να το χρησιμοποιήσεις μέσω κώδικα. Πρόσθεσε μια extra κλάση στο project σου και γράψε κάτι σαν το παρακάτω:&lt;/P&gt;
&lt;P&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Namespace&lt;/span&gt; ΧΧΧDataSetTableAdapters&lt;br /&gt;    Partial &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Class&lt;/span&gt; ΧΧΧTableAdapter&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Private&lt;/span&gt; _UpdateBatchSize &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;As&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Integer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Property&lt;/span&gt; UpdateBatchSize() &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;As&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Integer&lt;/span&gt;&lt;br /&gt;            &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Get&lt;/span&gt;&lt;br /&gt;                &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Return&lt;/span&gt; _adapter.UpdateBatchSize&lt;br /&gt;            &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Get&lt;/span&gt;&lt;br /&gt;            &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Set&lt;/span&gt;(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;ByVal&lt;/span&gt; value &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;As&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Integer&lt;/span&gt;)&lt;br /&gt;                _adapter.UpdateBatchSize &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; value&lt;br /&gt;            &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Set&lt;/span&gt;&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Property&lt;/span&gt;&lt;br /&gt;    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Class&lt;/span&gt;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Namespace&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Το ΧΧΧDataSetTableAdapters είναι το namespace των table adapters και το ΧΧΧ το βρίσκεις μέσα από τον κώδικα του designer, όπως επίσης και το όνομα&amp;nbsp;&lt;BR&gt;&amp;nbsp;ΧΧΧTableAdapter. To κόλπο είναι ότι η κλάση που ορίζεις είναι partial και συμπληρώνει την κλάση του designer. Έτσι, δεν επεμβαίνεις στο auto-generated κώδικα του designer και έχεις σε άλλο σημείο όλον τον custom κώδικά σου.&lt;/P&gt;</description></item><item><title>tableadapter και UpdateBatchSize</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/18493.aspx</link><pubDate>Thu, 12 Oct 2006 01:44:26 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:18493</guid><dc:creator>xterm</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/18493.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=78&amp;PostID=18493</wfw:commentRss><description>Γεια και χαρά,&lt;br&gt;&lt;br&gt;Έχω φτιάξει ένα&amp;nbsp; μικρό project με μια βάση και ένα πίνακα μέσα από το designer του VS 2005.&amp;nbsp; Έγω τώρα θέλω να&amp;nbsp; αλλάξω τη τιμή του UpdateBatchSize αλλά ο tableadapter που μου εφτιαξε&amp;nbsp; ο designer δεν το έχει σαν property. Ο dataadapter απ' ότι ξέρω βρίσκεται μέσα στο vb αρχείο που μου έφτιαξε ο designer απο το schema της βάσης.Μόνο μέσα από εκεί μπορώ να έχω πρόσβαση στο&amp;nbsp; συγκεκριμένο property?&lt;br&gt;&lt;br&gt;VB.Net 2005, Corelab MysqlDirect 3.5&lt;br&gt;</description></item></channel></rss>