<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>Part 5: Business Logic</title><link>http://www.asp.net</link><pubDate>Wed, 22 May 2013 15:31:19 GMT</pubDate><generator>umbraco</generator><description>Comments for Part 5: Business Logic</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/27470" rel="self" type="application/rss+xml" /><item><title>Comment Posted by dlazendi</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Thu, 13 Jan 2011 06:43:34 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011499</guid><description><![CDATA[ <p>Hi, </p><p>Great work on this application... I&#39;m having a problem with my database...</p><p></p><p>I get error at this part</p><p>---------------------------</p><p></p><p>      throw new Exception(&quot;ERROR: Unable to Add Item to Cart - &quot; + </p><p>                                                          exp.Message.ToString(), exp);</p><p>      }</p><p>   }</p><p>}</p><p></p><p>-----------------------------------</p><p></p><p>The error is:</p><p></p><p>Server Error in &#39;/&#39; Application.</p><p></p><p>Cannot insert explicit value for identity column in table &#39;ShoppingCart&#39; when IDENTITY_INSERT is set to OFF.</p><p></p><p>I tried the other method to set IDENTITY_INSERT ON but still no success... </p><p></p><p>I was wondering if there is something i should change in my database....</p><p></p><p>Thank you very much...</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/dlazendi.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by irishchieft</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Thu, 21 Apr 2011 05:56:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012909</guid><description><![CDATA[ <p>Where&#39;s the checkout logic? For example, PayPal integration?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/irishchieft.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bedrocho</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Mon, 29 Aug 2011 15:45:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014078</guid><description><![CDATA[ <p>Can anybody tell me about MyList.Rows.Count?</p><p>I have no idea what about MyList?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/bedrocho.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bedrocho</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Tue, 30 Aug 2011 15:57:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014088</guid><description><![CDATA[ <p>I got MyList is GridView ID.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/bedrocho.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Solid_Snake</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Sun, 04 Sep 2011 07:46:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014117</guid><description><![CDATA[ <p>Could the author or any volunteers to add comments to the lines of code; the business logic part that is? This would be really appreciated!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Solid_Snake.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bedrocho</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Mon, 19 Sep 2011 08:39:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014216</guid><description><![CDATA[ <p>I fully completed this tutorial based on LINQ for ASP.NET 3.5 on Visual Studio 2008 version.</p><p>I generated my own membership and commerce database on SQL Server 2008.</p><p>I learned lots of knowledge about ASP.NET 3.5/4.0 and SQL Server 2005/2008</p><p>I really appreciate this video tutorials. Thanks so much! Joe!!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/bedrocho.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by juliedoggy</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Tue, 21 Feb 2012 23:12:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014909</guid><description><![CDATA[ <p>When using the IORDEREDDICTIONARY please use the import statement</p><p>:</p><p>Using System.Collections.Specialize.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/juliedoggy.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sidreynolds</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Thu, 19 Jul 2012 05:58:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016009</guid><description><![CDATA[ <p>been following along got to the business logic part can not seem to get the code it&#39;s not very clear what part goes where when i run project i get error Error 2 The type or namespace name &#39;Data_Access&#39; does not exist in the namespace &#39;TailspinSpyworks&#39; (are you missing an assembly reference?) C:\Documents and Settings\User\my documents\visual studio 2010\Projects\MyTailSpinWorks\MyTailSpinWorks\Clsses\MyShoppingCart.cs 5 24 TailspinSpyworks</p><p></p><p>can anyone tell where i have gone wrong everything else up to now work ok</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sidreynolds.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Fski</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Thu, 20 Sep 2012 21:29:34 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016486</guid><description><![CDATA[ <p>Where is the code that adjusts the &#39;Shopping Cart&#39; text to &#39;Shopping Cart is Empty&#39; when total is 0?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Fski.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by samarthagarwal</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Fri, 07 Dec 2012 07:22:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016959</guid><description><![CDATA[ <p>Where does this EntitySetName=&quot;ViewCarts&quot; come from? Its causing me an error! Please help.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/samarthagarwal.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jonstroh</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Tue, 11 Dec 2012 09:27:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016980</guid><description><![CDATA[ <p>Hello I am trying to use the tutorail to set up a shopping cart in VS2012 when adding &quot;partial&#39; to the  MyShoppingCart.cs file get partial greyed out(i use resharper) and it says partial class with single part, I have the MyShoppingCart.aspx and the MyShoppingCart.cs filesth in the project. How can I make the  MyShoppingCart.cs know that is is part of the MyShoppingCart.aspx ? The issue is that the GetShoppingCartId() method wont work because you cant use the Session property. </p><p>Thanks Jon</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/jonstroh.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jonstroh</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Tue, 11 Dec 2012 09:36:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016981</guid><description><![CDATA[ <p>Well I fixed it, strange though. I just recreated the MyShoppingCart.cs file in the main Project folder and it found the MyShoppingCart.aspx page and set up the partial class corrrectly then I just copied the MyShoppingCart.cs back to the Class folder of the project </p><p>Jon</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/jonstroh.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sengi</title><link>http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5</link><pubDate>Wed, 22 May 2013 15:31:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000019157</guid><description><![CDATA[ <p>Hi Joe, i like your help,</p><p>i would like to know if i can have the same code in vb.net instead of c#</p><p>thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/sengi.jpg?forceidenticon=false&amp;dt=635050447200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>