<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ObjectDataSource &#8211; Cannot convert value of parameter value from System.String to System.DateTime</title>
	<atom:link href="http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/</link>
	<description>Everything .NET and C#</description>
	<lastBuildDate>Wed, 01 Feb 2012 21:25:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: slow worm</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-21128</link>
		<dc:creator>slow worm</dc:creator>
		<pubDate>Fri, 21 Oct 2011 13:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-21128</guid>
		<description>Perfect. No nonsense fix. Thank you.</description>
		<content:encoded><![CDATA[<p>Perfect. No nonsense fix. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arturo HG</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-1897</link>
		<dc:creator>Arturo HG</dc:creator>
		<pubDate>Wed, 02 Jun 2010 15:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-1897</guid>
		<description>Muchas gracias!!!</description>
		<content:encoded><![CDATA[<p>Muchas gracias!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-1144</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 23 Feb 2010 22:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-1144</guid>
		<description>Luis

EnableScriptGlobalization is something completely different to the subject of this post.

EnableScriptGloablization and EnableScriptLocalization are used when displaying information with JavaScript.

The problem outlined in my post is a bug with the ObjectDataSource when performing an update, not when displaying data.  The ObjectDataSource uses ConvertFromInvariantString which is what causes the issue and therefore the workaround is required.


Robert

I tried using IIS as you suggested but this still doesn&#039;t solve the issue as the ObjectDataSource is still using ConvertFromInvariantString.</description>
		<content:encoded><![CDATA[<p>Luis</p>
<p>EnableScriptGlobalization is something completely different to the subject of this post.</p>
<p>EnableScriptGloablization and EnableScriptLocalization are used when displaying information with JavaScript.</p>
<p>The problem outlined in my post is a bug with the ObjectDataSource when performing an update, not when displaying data.  The ObjectDataSource uses ConvertFromInvariantString which is what causes the issue and therefore the workaround is required.</p>
<p>Robert</p>
<p>I tried using IIS as you suggested but this still doesn&#8217;t solve the issue as the ObjectDataSource is still using ConvertFromInvariantString.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Guimarães</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-1143</link>
		<dc:creator>Luis Guimarães</dc:creator>
		<pubDate>Tue, 23 Feb 2010 20:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-1143</guid>
		<description>ASP.NET 3.5-&gt; What&#039;s new:

Support for script globalization and localization by using client script. Globalization enables you to display dates and numbers based on a culture value (locale). Localization enables you to specify localized content (text, images, and so on) in client components for UI elements or exception messages.

Source:
http://msdn.microsoft.com/en-us/library/s57a598e.aspx


So, I think it works
EnableScriptGlobalization=”true”</description>
		<content:encoded><![CDATA[<p>ASP.NET 3.5-&gt; What&#8217;s new:</p>
<p>Support for script globalization and localization by using client script. Globalization enables you to display dates and numbers based on a culture value (locale). Localization enables you to specify localized content (text, images, and so on) in client components for UI elements or exception messages.</p>
<p>Source:<br />
<a href="http://msdn.microsoft.com/en-us/library/s57a598e.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/s57a598e.aspx</a></p>
<p>So, I think it works<br />
EnableScriptGlobalization=”true”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Guimarães</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-1100</link>
		<dc:creator>Luis Guimarães</dc:creator>
		<pubDate>Fri, 19 Feb 2010 16:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-1100</guid>
		<description>What if you put this?
- EnableScriptGlobalization=&quot;true&quot;


        

I think it works</description>
		<content:encoded><![CDATA[<p>What if you put this?<br />
- EnableScriptGlobalization=&#8221;true&#8221;</p>
<p>I think it works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-1084</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 18 Feb 2010 00:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-1084</guid>
		<description>Hi Robert

Thanks for the insight.

When I first came across the issue it definately was a framework bug that was verified by Microsoft &lt;a href=&quot;http://connect.microsoft.com/VisualStudio/feedback/details/105016/objectdatasource-ignores-culture-information-when-updating&quot; rel=&quot;nofollow&quot;&gt;here.</description>
		<content:encoded><![CDATA[<p>Hi Robert</p>
<p>Thanks for the insight.</p>
<p>When I first came across the issue it definately was a framework bug that was verified by Microsoft <a href="http://connect.microsoft.com/VisualStudio/feedback/details/105016/objectdatasource-ignores-culture-information-when-updating" rel="nofollow">here.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Kafarski</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-1081</link>
		<dc:creator>Robert Kafarski</dc:creator>
		<pubDate>Wed, 17 Feb 2010 22:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-1081</guid>
		<description>Hi,

I had exactly same issue, but found out it was not a framework bug.
The error occurred only when I was using the built-in web server.
Try switching your project to IIS instead and see if it helps.
There is no need for any workarounds...

Regards,

Robert</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I had exactly same issue, but found out it was not a framework bug.<br />
The error occurred only when I was using the built-in web server.<br />
Try switching your project to IIS instead and see if it helps.<br />
There is no need for any workarounds&#8230;</p>
<p>Regards,</p>
<p>Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flip.be</title>
		<link>http://www.joe-stevens.com/2009/07/30/objectdatasource-cannot-convert-value-of-parameter-value-from-system-string-to-system-datetime/comment-page-1/#comment-150</link>
		<dc:creator>flip.be</dc:creator>
		<pubDate>Sun, 20 Sep 2009 00:43:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=179#comment-150</guid>
		<description>Exactly what I was looking for. Tnx!</description>
		<content:encoded><![CDATA[<p>Exactly what I was looking for. Tnx!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

