Posted on: 12/18/2013 10:27:19 PM | Views : 818

on my add to card page i am getting an error for the get shopping cart id and add item 
i have the errors underlined and highlighted in bold
 i am  getting this error  for the add objects
Error 22 'System.Data.Entity.DbSet<WebApplication23.Data_Access.OrderDetail>' does not contain a definition for 'AddObject' and no extension method 'AddObject' accepting a first argument of type 'System.Data.Entity.DbSet<WebApplication23.Data_Access.OrderDetail>' could be found (are you missing a using directive or an assembly reference?) C:\Users\podge\Documents\Visual Studio 2012\Projects\WebApplication23\WebApplication23\Classes\MYShoppingCart.cs 202 45 WebApplication23

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Sy ...

Go to the complete details ...