<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>Data Presentation Controls</title><link>http://forums.asp.net/24.aspx</link><description>ASP.NET data-bound controls such as the DataGrid, DataList, GridView, FormView, DetailsView, and Repeater Controls.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=23&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/3233396.aspx</link><pubDate>Mon, 15 Jun 2009 09:00:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3233396</guid><dc:creator>julien_h</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3233396.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=3233396</wfw:commentRss><description>&lt;p&gt;Hello , I&amp;nbsp; have this task to do and I can&amp;#39;t seem to figure it out .&lt;/p&gt;
&lt;p&gt;I have to&amp;nbsp; show&amp;nbsp; based on my database the number and title of books that every author has based on his ID .&lt;/p&gt;
&lt;p&gt;how can I do that using Gridview ?&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;thank you for your help and plzzz it&amp;#39;s kinda urgent !!!!!!!!!&lt;/p&gt;</description></item><item><title>Re: C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/2540607.aspx</link><pubDate>Wed, 06 Aug 2008 14:43:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2540607</guid><dc:creator>Zimbran</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2540607.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2540607</wfw:commentRss><description>&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;Thank you again!&lt;/strong&gt;&amp;nbsp;&lt;span style="mso-spacerun:yes;"&gt;&lt;img src="http://forums.asp.net/emoticons/emotion-21.gif" alt="Yes" /&gt; &lt;/span&gt;I really appreciate that you took the time to explain this to me (and all the other readers of the forum). This solved my problem and now I can concentrate on other tasks in my project instead of searching for more examples that doesn’t help (I have searched a lot on different forums).&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;I like your approach when you helped me. Some explanation in text and code example is very helpful when you are stuck and can’t see clearly at your own code.&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/2540494.aspx</link><pubDate>Wed, 06 Aug 2008 14:11:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2540494</guid><dc:creator>pkellner</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2540494.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2540494</wfw:commentRss><description>&lt;p&gt;You are most welcome!&lt;/p&gt;
&lt;p&gt;Here is another post to explain that.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://peterkellner.net/2008/08/06/assign-label-in-aspdotnet-to-gridview-in-objectdatasource/"&gt;http://peterkellner.net/2008/08/06/assign-label-in-aspdotnet-to-gridview-in-objectdatasource/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/2540027.aspx</link><pubDate>Wed, 06 Aug 2008 11:28:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2540027</guid><dc:creator>Zimbran</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2540027.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2540027</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;LINE-HEIGHT:normal;"&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;Thank you!&lt;/strong&gt;&amp;nbsp;&lt;img src="http://forums.asp.net/emoticons/emotion-21.gif" alt="Yes" /&gt; Your post and code example helped me to solve my problem.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;LINE-HEIGHT:normal;"&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;Now I have to try to get the &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#a31515;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-ansi-language:EN-US;mso-no-proof:yes;"&gt;ItemTemplate&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt; with a label to show me the “Yes” and “No” for True and False… idea?&lt;/font&gt;&lt;/span&gt;</description></item><item><title>Re: C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/2538907.aspx</link><pubDate>Tue, 05 Aug 2008 23:58:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2538907</guid><dc:creator>pkellner</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2538907.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2538907</wfw:commentRss><description>&lt;p&gt;OK, Here is a post I just did that should help.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://peterkellner.net/2008/08/05/assign-dropdownlist-in-aspdotnet-to-gridview-in-objectdatasource/"&gt;http://peterkellner.net/2008/08/05/assign-dropdownlist-in-aspdotnet-to-gridview-in-objectdatasource/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/2538853.aspx</link><pubDate>Tue, 05 Aug 2008 22:17:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2538853</guid><dc:creator>Zimbran</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2538853.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2538853</wfw:commentRss><description>&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-language:AR-SA;"&gt;I can’t get it to work.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In need an example where the DataSource is an ObjectDataSource… &lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/2535963.aspx</link><pubDate>Mon, 04 Aug 2008 22:05:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2535963</guid><dc:creator>pkellner</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2535963.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2535963</wfw:commentRss><description>&lt;p&gt;here is a post I did.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://peterkellner.net/2007/12/13/gridviewdropdownlistrow/"&gt;http://peterkellner.net/2007/12/13/gridviewdropdownlistrow/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;asp:DropDownList ID=&lt;span class="str"&gt;&amp;quot;DropDownListUser&amp;quot;&lt;/span&gt; runat=&lt;span class="str"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; AutoPostBack=&lt;span class="str"&gt;&amp;quot;False&amp;quot;&lt;/span&gt; DataSourceID=&lt;span class="str"&gt;&amp;quot;SqlDataSourceUser&amp;quot;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataTextField=&lt;span class="str"&gt;&amp;quot;Username&amp;quot;&lt;/span&gt; DataValueField=&lt;span class="str"&gt;&amp;quot;id&amp;quot;&lt;/span&gt; SelectedValue=&lt;span class="str"&gt;&amp;#39;&amp;lt;%# Bind(&amp;quot;TemplateUsersId&amp;quot;) %&amp;gt;&amp;#39;&lt;/span&gt;&amp;gt;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/asp:DropDownList&amp;gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>C#/ObjectDataSource/Gridview DropDownList or CheckBox</title><link>http://forums.asp.net/thread/2535950.aspx</link><pubDate>Mon, 04 Aug 2008 21:58:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2535950</guid><dc:creator>Zimbran</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2535950.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2535950</wfw:commentRss><description>&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;Still trying to get my ObjetDataSource project with GridView to work as I would like it to work.&lt;/font&gt;&lt;/span&gt; &lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;I would like the DropDownList to show the value from one of the columns in the GridView?&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;If the value is 0 = “No” or if the value is 1 = “Yes”&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;I have goolgled this but can’t find any good example. Do you have a simple example for the DropDownList&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;(or the CheckBox would work fine too).&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:SV;"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>