<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"><channel><title>Handling BLL- and DAL-Level Exceptions</title><link>http://www.asp.net</link><pubDate>Mon, 09 Jul 2012 11:57:36 GMT</pubDate><generator>umbraco</generator><description>Comments for Handling BLL- and DAL-Level Exceptions</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33267" rel="self" type="application/rss+xml" /><item><title>Comment Posted by BozoDav</title><link>http://www.asp.net/web-forms/tutorials/data-access/editing-and-deleting-data-through-the-datalist/handling-bll-and-dal-level-exceptions-vb</link><pubDate>Mon, 09 Jul 2012 11:57:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015945</guid><description><![CDATA[ <p>If anyone has any trouble with the unit price later on, look for this line of code in the UpdateCommand method:</p><p></p><p>            If unitPrice.Text.Trim().Length &gt; 0 Then</p><p>                unitPriceValue = Decimal.Parse(unitPrice.Text.Trim(), System.Globalization.NumberStyles.Currency)</p><p></p><p>You may find that by removing the &quot;System.Globalization.&quot; line before NumberStyles and importing it at the top of your .aspx.vb page, this solves your problem.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/BozoDav.jpg?forceidenticon=false&amp;dt=635048590800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>