<?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>ASP.NET WebForms</title><link>https://www.dotnetzone.gr:443/cs/forums/13/ShowForum.aspx</link><description>Θέματα για web εφαρμογές, σε ASP.NET WebForms</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Πως εμφανιζω σε μια dropDownList τα αποταλεσματα δυο πεδιων της βασης</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/25585.aspx</link><pubDate>Wed, 28 Feb 2007 20:21:47 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:25585</guid><dc:creator>agmarios</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/25585.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25585</wfw:commentRss><description>εγώ θα τοέβαζα στο query:&lt;br&gt;&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;select&lt;/span&gt; id, firstName + &lt;span style="color:Red;background-color:transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;' '&lt;/span&gt; + surName &lt;span style="color:Blue;background-color:transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;as&lt;/span&gt; fullName&lt;br&gt;&lt;span style="color:Blue;background-color:transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;from&lt;/span&gt; persons&lt;/span&gt;&lt;br&gt;</description></item><item><title>Απ: Πως εμφανιζω σε μια dropDownList τα αποταλεσματα δυο πεδιων της βασης</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/25549.aspx</link><pubDate>Wed, 28 Feb 2007 09:18:02 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:25549</guid><dc:creator>Dimitris Papadimitriou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/25549.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25549</wfw:commentRss><description>&lt;p&gt;Από ότι καταλαβαίνω γνωρίζεις πως γίνεται το binding οπότε το προσπερνάω.&lt;/p&gt;&lt;p&gt;Αφού λοιπόν φορτώσεις τα δεδομένα σου σε ένα datatable και πριν κάνεις το binding, θα πρέπει να προσθέσεις μια στήλη με epxression στο datatable:&lt;/p&gt;&lt;p&gt;myTable.Columns.Add("Fullname", GetType(String), "First + ' ' + Last")&lt;/p&gt;&lt;p&gt;Οπότε πλέον ο πίνακάς σου έχει αυτό που ζητάς!&lt;br&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Απ: Πως εμφανιζω σε μια dropDownList τα αποταλεσματα δυο πεδιων της βασης</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/25546.aspx</link><pubDate>Wed, 28 Feb 2007 09:10:34 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:25546</guid><dc:creator>Δημήτρης Γκανάτσιος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/25546.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25546</wfw:commentRss><description>&lt;P&gt;Αν κατάλαβα καλά κάνεις bind σε ένα dropdown list ένα list από δικά σου objects. Μπορείς σε αυτά τα objects να προσθέσεις ένα readonly πεδίο που να σου επιστρέφει επίθετο και όνομα, και να κάνεις DisplayMember στο dropdownlist αυτό το property.&lt;/P&gt;
&lt;P&gt;VB source: &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:black;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;public readonly&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;property&lt;/SPAN&gt; Fullname()&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;get&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;return&lt;/SPAN&gt; Lastname &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:red;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:#666666;FONT-FAMILY:Courier New;BACKGROUND-COLOR:#e4e4e4;"&gt;" "&lt;/SPAN&gt; &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:red;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;+&lt;/SPAN&gt; Firstname&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;end&lt;/SPAN&gt; &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;get&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;end&lt;/SPAN&gt; &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;property&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>Πως εμφανιζω σε μια dropDownList τα αποταλεσματα δυο πεδιων της βασης</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/25542.aspx</link><pubDate>Wed, 28 Feb 2007 07:52:42 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:25542</guid><dc:creator>it048</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/25542.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25542</wfw:commentRss><description>Καλησπερα.Θελω να εμφανιζω σε μια dropDownList τα αποταλεσματα δυο πεδιων της βασης (sql server 2000). Δηλαδη το ονομα κ το επιθετο αποθηκευονται σε διαφορετικα πεδια αλλα οταν κανω databound το dropDownList θελω να εμφανιζεται στη μορφη (επιθετο ονομα ).&lt;br&gt;Εχετε καμια ιδεα για το πως μπορει να γινει αυτο?&lt;br&gt;Προγραμματιστικα με κωδικα σε vb ή μεσω του sql server.&lt;br&gt;Η εφαρμογη ειναι σε asp.net!&lt;br&gt;Θα με σωσετε.&lt;br&gt;</description></item></channel></rss>