<?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>Γενικά Θέματα VS.NET</title><link>https://www.dotnetzone.gr:443/cs/forums/81/ShowForum.aspx</link><description>Γενική συζήτηση για το Visual Studio IDE, καθώς και ανταλλαγή tips και tricks για καθημερινή χρήση</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11928.aspx</link><pubDate>Sun, 16 Apr 2006 01:21:39 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11928</guid><dc:creator>Panagiotis Kefalidis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11928.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11928</wfw:commentRss><description>Κάνε import System.Data και όλα τα λοιπά namespaces και θα τα δει μια χαρά και το SqlCommand κλπ..</description></item><item><title>Απ: Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11926.aspx</link><pubDate>Sat, 15 Apr 2006 23:04:07 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11926</guid><dc:creator>mousi</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11926.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11926</wfw:commentRss><description>Ούτε αυτό δουλεύει αλλά ανακάλυψα κάτι άλλο:&lt;br /&gt;
&lt;br /&gt;
Από το Query builder έφτιαξα το εξής query:&lt;br /&gt;
&lt;br /&gt;
SELECT     username&lt;br /&gt;
&lt;br /&gt;
FROM         usernames&lt;br /&gt;
&lt;br /&gt;
WHERE     (id = ?)&lt;br /&gt;
&lt;br /&gt;
το οποίο ονόμασα unQuery.&lt;br /&gt;
&lt;br /&gt;
Τώρα με tableadapter.unQuery(1) βάζει όπου id=1. Αυτό περίπου ήθελα να κάνω και δεν το έβρισκα πουθενά. Σε ένα pdf το βρήκα. Thanks anyway</description></item><item><title>Απ: Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11924.aspx</link><pubDate>Sat, 15 Apr 2006 22:57:26 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11924</guid><dc:creator>Δημήτρης Γκανάτσιος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11924.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11924</wfw:commentRss><description>δοκίμασε το OleDbCommand</description></item><item><title>Απ: Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11923.aspx</link><pubDate>Sat, 15 Apr 2006 22:50:21 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11923</guid><dc:creator>mousi</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11923.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11923</wfw:commentRss><description>Σε Access αλλά η VB δεν αναγνωρίζει καν το sqlCommand. Μου βγάζει&lt;br /&gt;
&lt;br /&gt;
Τype 'sqlCommand' is not defined.</description></item><item><title>Απ: Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11922.aspx</link><pubDate>Sat, 15 Apr 2006 22:43:28 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11922</guid><dc:creator>Δημήτρης Γκανάτσιος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11922.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11922</wfw:commentRss><description>σε τι είδους βάση θες να συνδεθείς;&lt;br&gt;</description></item><item><title>Απ: Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11921.aspx</link><pubDate>Sat, 15 Apr 2006 22:37:16 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11921</guid><dc:creator>mousi</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11921.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11921</wfw:commentRss><description>Θα το δοκιμάσω αν και δεν μου αναγνωρίζει το sqlCommand σαν type!&lt;br&gt;</description></item><item><title>Απ: Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11920.aspx</link><pubDate>Sat, 15 Apr 2006 22:32:16 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11920</guid><dc:creator>Δημήτρης Γκανάτσιος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11920.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11920</wfw:commentRss><description>&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Dim&lt;/span&gt; sqlCmd &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;New&lt;/span&gt; SqlCommand&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Dim&lt;/span&gt; sql &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;string&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"SELECT username FROM usernames WHERE ID = @myID"&lt;/span&gt;&lt;br /&gt;sqlCmd.CommandText &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; sql&lt;br /&gt;sqlCmd.CommandType &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; CommandType.Text&lt;br /&gt;sqlCmd.Parameters.AddWithValue(&lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"@myID"&lt;/span&gt;, myString) &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;'το string που δίνεις σαν κλειδί αναζήτησης&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Πώς δημιουργώ δυναμικά SQL ερωτήματα στην VB 2005;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11916.aspx</link><pubDate>Sat, 15 Apr 2006 13:51:18 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11916</guid><dc:creator>mousi</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11916.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=81&amp;PostID=11916</wfw:commentRss><description>Θέλω να δημιουργήσω πχ το εξής query:&lt;br&gt;"SELECT username FROM usernames WHERE (id="&amp;amp;id&amp;amp;");"&lt;br&gt;Δηλαδή θέλω να εκτελώ ένα query το οποίο θα εξαρτάται από κάποια επιλογή του χρήστη. Πώς μπορώ να το κάνω αυτό στην VB 2005;&lt;br&gt;</description></item></channel></rss>