View Full Version : Creating a Shopping Basket

11-06-2005, 12:20 PM
I'm trying to create a shopping basket for an application I've been developing. A user will click onto a product and within that product there will be a list of sub products they can buy. The application needs to allow the user to be abel to purchase multiple sub products with one go and this is where I'm having difficulty.

I've used an asp:Literal to render the sub products details and input boxes so they can specify the quantity of each they would prefer.

The problem I'm having is I'm not sure how to write the code to check what the user has added to the basket once they've clicked the update button. How do I run through the boxes and determine which ones have a quantity in them instead of the default 0?