protected void addItem(int pID, int?amt) { int mID = sc.GetMemberID(Session["who"].ToString()); sc.AddProduct(mID, pID, amt); }