Click here to Skip to main content
15,877,384 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
http://csharpdotnetfreak.blogspot.com/2009/05/aspnet-creating-shopping-cart-example.html[^]

em following above mentioned link to implement shopping cart in asp.net 4.0! Error occurred in ProductDetail.aspx.cs in this line "if (Profile.SCart == null)" jxt can't understand that where shud i define SCart in application...need to resolve it urgently!
Posted
Updated 9-Dec-12 1:36am
v2

1 solution

The code statement....
if (Profile.SCart == null)


appears more than once on the page in your link.


Also.....


There is thread there already outlining the same problem you mentioned.

ALSO!
The author states he is implementing AJAX extensions,
Do you have those installed?


ALSO ALSO - Probably the BEST solution!!!
Who ever the author of the article is....
He/She has offered to look into the issue if your send your source code to him/her.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900