<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PrimeDigit - A Design Blog by Will Shaver &#187; Exceptions</title>
	<atom:link href="http://www.primedigit.com/category/exceptions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.primedigit.com</link>
	<description>Thoughts on ASP.NET, Visual Design, SQL Server 2005, C# and much more...</description>
	<lastBuildDate>Tue, 29 Jun 2010 16:33:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fix DBNull Conversion Errors</title>
		<link>http://www.primedigit.com/2007/08/02/fix-dbnull-conversion-errors/</link>
		<comments>http://www.primedigit.com/2007/08/02/fix-dbnull-conversion-errors/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 01:51:00 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Exceptions]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/2007/08/02/fix-dbnull-conversion-errors/</guid>
		<description><![CDATA[I had this really annoying problem earlier today with binding strongly typed datasets to a textbox. The fields I was binding from was sometimes null, causing this conversion exception that I couldn&#8217;t figure out how to catch. Turns out there&#8217;s a property for each field in the dataset called NullValue. Changing this property from &#8220;Throw [...]]]></description>
			<content:encoded><![CDATA[<p>I had this really annoying problem earlier today with binding strongly typed datasets to a textbox. The fields I was binding from was sometimes null, causing this conversion exception that I couldn&#8217;t figure out how to catch. Turns out there&#8217;s a property for each field in the dataset called NullValue. Changing this property from &#8220;Throw Exception&#8221; to &#8220;Null&#8221; solved the problem.<br/><br />
<br/><br />
I found this solution <a href="http://forums.asp.net/p/1040938/1502612.aspx#1502612">here</a>. Thanks jcrabtressla.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2007/08/02/fix-dbnull-conversion-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
