Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 671
  • Last Modified:

ASP.net how to update shopping Cart QTY and remove item

hi,

I am working on a shopping Cart by using ASP.net, and I will post the code to the attachment. just want to know how can I update the item QTY  and remove the product if i want to delete it? please unzip this file to C: root folder, select "ADONET" and right click on ADONET.aspx, select review in browse then you will see what I have done.

put the database in this path:C:\CSP_414_Assigment3\Database\Northwind.mfd

it seems not allow me upload the whole project to server, some of the file extensions is not supported if you can give me the email ,I can send to you.


please help.

thanks
update-and-remove.jpg
0
Simon Chen
Asked:
Simon Chen
1 Solution
 
Jitendra PatilSr.Software EngineerCommented:
how are you binding your shoppingcart data ?. please post .aspx code here.

if you are using datatable with session then you can remove an item from datatable and reassign the datatable to session and rebind the grid your value will be deleted easily.

hope this helps.
0
 
SAMIR BHOGAYTAFreelancer and IT ConsultantCommented:
hi.. I have already used this functionality with my shopping cart application for update items and remove items quantity. It is very useful please use it..


http://www.codeproject.com/Articles/336901/Adding-Quantity-Update-Feature-to-Shopping-Cart-fo
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now