<?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 Access and ObjectDataSource Control</title><link>http://forums.asp.net/23.aspx</link><description>Questions and discussions related to using ADO.NET for data access, and the ObjectDataSource control. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=9&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: Stongly typed dataset DBNull error</title><link>http://forums.asp.net/thread/1502612.aspx</link><pubDate>Tue, 19 Dec 2006 22:12:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1502612</guid><dc:creator>jcrabtreesla</dc:creator><author>jcrabtreesla</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1502612.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=1502612</wfw:commentRss><description>Just in case anyone else has this error. I found that in the properties window of the&amp;nbsp;.xsd page there is a setting called NullValue that sets the behavior if one column is Null (you must select a column in the Data Table). Change the setting from Throw Exception to Null or Empty and that will solve the problem.</description></item><item><title>Stongly typed dataset DBNull error</title><link>http://forums.asp.net/thread/1449155.aspx</link><pubDate>Wed, 01 Nov 2006 13:31:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1449155</guid><dc:creator>jcrabtreesla</dc:creator><author>jcrabtreesla</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1449155.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=1449155</wfw:commentRss><description>&lt;p&gt;I have a strongly typed dataset that is returning an error when the corresponding field in the database is DBNull. The error&amp;nbsp;I get is:&lt;/p&gt;&lt;p&gt;System.Data.StrongTypingException was unhandled by user code&lt;br /&gt;&amp;nbsp; Message=&amp;quot;The value for column &amp;#39;Client_Billing_Contact&amp;#39; in table &amp;#39;Client&amp;#39; is DBNull.&amp;quot;&lt;br /&gt;&amp;nbsp; Source=&amp;quot;App_Code.arfnv1r7&amp;quot;&lt;br /&gt;&amp;nbsp; StackTrace:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at slaClient.ClientRow.get_Client_Billing_Contact() in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\slabob\5f562902\4fcd322\App_Code.arfnv1r7.3.vb:line 1662&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at order_orderheader.loadClientData(String clientID) in C:\VS2005\SLABOB\order\orderheader.aspx.vb:line 354&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at order_orderheader.txtClientID_TextChanged(Object sender, EventArgs e) in C:\VS2005\SLABOB\order\orderheader.aspx.vb:line 373&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.WebControls.TextBox.OnTextChanged(EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.WebControls.TextBox.RaisePostDataChangedEvent()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.Page.RaiseChangedEvents()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&lt;p&gt;&amp;nbsp;I tried to trap the error in the code that binds the field to a textbox, but when I set a breakpoint the error happens before it reaches this code. Checking the error above, it happens in a VS created code file.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have searched for this error and found that I am not the only one that has this problem. However none of the solutions work for me. I don&amp;#39;t know where/how to check for this error. I tried to trap the error&amp;nbsp;in the VS file when I get the error, but that doesn&amp;#39;t work either. Help. Thanks.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>