<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.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>Andrew Rea - All Comments</title><link>http://weblogs.asp.net/andrewrea/default.aspx</link><description>&lt;p&gt;C# &amp; ASP.NET Developer BLOG&lt;/p&gt;
</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Examples of using System.Data.ParameterDirection with Sql Server</title><link>http://weblogs.asp.net/andrewrea/archive/2008/02/19/examples-of-using-system-data-parameterdirection-with-sql-server.aspx#8294499</link><pubDate>Sun, 12 Feb 2012 09:45:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8294499</guid><dc:creator>IURiWdxnqnfhaJh</dc:creator><description>&lt;p&gt;57m3lX It's straight to the point! You could not tell in other words! :D&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8294499" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET Dynamic Data – Using Column Generators based on Meta Data</title><link>http://weblogs.asp.net/andrewrea/archive/2009/03/25/asp-net-dynamic-data-using-column-generators-based-on-meta-data.aspx#8285718</link><pubDate>Mon, 06 Feb 2012 19:35:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8285718</guid><dc:creator>sm</dc:creator><description>&lt;p&gt;this was helpful - GenerateFields() was not calling - when i commented dataControlReference then it started working.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8285718" width="1" height="1"&gt;</description></item><item><title>re: Useful DateTime functions in JavaScript based on .NET DateTime</title><link>http://weblogs.asp.net/andrewrea/archive/2009/03/06/useful-datetime-functions-in-javascript-based-on-net-datetime.aspx#8095205</link><pubDate>Tue, 06 Dec 2011 09:00:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8095205</guid><dc:creator>Anton Ng</dc:creator><description>&lt;p&gt;Great stuff! You rocks!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8095205" width="1" height="1"&gt;</description></item><item><title>C# Copy object using Clipboard and paste is as object or text | DIGG LINK</title><link>http://weblogs.asp.net/andrewrea/archive/2008/02/18/add-object-to-clipboard-using-c-in-a-couple-of-ways.aspx#8085682</link><pubDate>Fri, 02 Dec 2011 12:21:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8085682</guid><dc:creator>C# Copy object using Clipboard and paste is as object or text | DIGG LINK</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;C# Copy object using Clipboard and paste is as object or text | DIGG LINK&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8085682" width="1" height="1"&gt;</description></item><item><title>Adding items to a databound DropDownList &amp;laquo;  Blogicia</title><link>http://weblogs.asp.net/andrewrea/archive/2008/01/23/test-post.aspx#8070553</link><pubDate>Wed, 23 Nov 2011 11:17:52 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8070553</guid><dc:creator>Adding items to a databound DropDownList «  Blogicia</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Adding items to a databound DropDownList &amp;amp;laquo; &amp;nbsp;Blogicia&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8070553" width="1" height="1"&gt;</description></item><item><title>re: GridView Row Click Selection via ClientSide Code</title><link>http://weblogs.asp.net/andrewrea/archive/2008/08/04/gridview-row-click-selection-via-clientside-code.aspx#7997964</link><pubDate>Wed, 19 Oct 2011 07:31:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7997964</guid><dc:creator>Matthew Cosier</dc:creator><description>&lt;p&gt;Brillaint :) &amp;nbsp;This is exactly the same issue I was having when I was implementing this, you just saved me some time doing this myself!&lt;/p&gt;
&lt;p&gt;M&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7997964" width="1" height="1"&gt;</description></item><item><title>Mapping query string to object with AutoMapper - Programmers Goodies</title><link>http://weblogs.asp.net/andrewrea/archive/2010/05/09/automapper-mappingfunction-from-source-type-of-namevaluecollection.aspx#7992744</link><pubDate>Fri, 14 Oct 2011 10:50:34 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7992744</guid><dc:creator>Mapping query string to object with AutoMapper - Programmers Goodies</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Mapping query string to object with AutoMapper - Programmers Goodies&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7992744" width="1" height="1"&gt;</description></item><item><title>Mapping QuerryString to Object with AutoMapper - Programmers Goodies</title><link>http://weblogs.asp.net/andrewrea/archive/2010/05/09/automapper-mappingfunction-from-source-type-of-namevaluecollection.aspx#7992685</link><pubDate>Fri, 14 Oct 2011 09:46:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7992685</guid><dc:creator>Mapping QuerryString to Object with AutoMapper - Programmers Goodies</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Mapping QuerryString to Object with AutoMapper - Programmers Goodies&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7992685" width="1" height="1"&gt;</description></item><item><title>re: DropDownList AppendDataBoundItems (A quick starter, a tip which many will know but for those who do not...)</title><link>http://weblogs.asp.net/andrewrea/archive/2008/01/23/test-post.aspx#7989782</link><pubDate>Tue, 11 Oct 2011 13:57:24 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7989782</guid><dc:creator>Ash</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt;I'm new to this.&lt;/p&gt;
&lt;p&gt;I have created SQL database called Contacts it has 3 tables&lt;/p&gt;
&lt;p&gt;1- Contacts table with contact information that has countries and departments&lt;/p&gt;
&lt;p&gt;2- Departments table which includes list department names&lt;/p&gt;
&lt;p&gt;3- Countries which in includes list of countries&lt;/p&gt;
&lt;p&gt;Using Microsoft Visual Web Developer i created a web form to update the contacts table in my database. In the form there are 2 field which i want them dropdowns&lt;/p&gt;
&lt;p&gt;Countries and Departments. so i have created thoes drop down and they work fine by linking them to the relevant lists from my database.&lt;/p&gt;
&lt;p&gt;My problem is how to return the value i select from the drop down to the main table (Contacts) in the data base...Exmple&lt;/p&gt;
&lt;p&gt;I selected from the drop down&lt;/p&gt;
&lt;p&gt;- country: US&lt;/p&gt;
&lt;p&gt;- Department: Finance&lt;/p&gt;
&lt;p&gt;How can i post these values in the country and department fields in the contacts table.&lt;/p&gt;
&lt;p&gt;Appreciate your assistance.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ash&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7989782" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET Dynamic Data – Using Column Generators based on Meta Data</title><link>http://weblogs.asp.net/andrewrea/archive/2009/03/25/asp-net-dynamic-data-using-column-generators-based-on-meta-data.aspx#7954846</link><pubDate>Fri, 16 Sep 2011 14:26:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7954846</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;Thanks for this write up, it is most informative. When I implemented this in a VS 2010 .NET 4.0 project I ran into an issue where the GenerateFields() method wasn't being hit. The auto generated code for the project included this section in the DynamicData/aspx code:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;DataControls&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:DataControlReference ControlID=&amp;quot;GridView1&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/DataControls&amp;gt;&lt;/p&gt;
&lt;p&gt;This inhibited the call to the overridden GenerateFields() method. Just thought I would pass that along for any others who run into this.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7954846" width="1" height="1"&gt;</description></item></channel></rss>
