1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Help with Shopping cart for visual basic

Discussion in 'Software Development' started by afx_leland, Apr 27, 2011.

Thread Status:
Not open for further replies.
  1. afx_leland

    afx_leland Thread Starter

    Joined:
    Apr 27, 2011
    Messages:
    1
    Hi I am working on a shopping cart for books in visual basic and can not figure out how to remove a selected item from the cart and adjust the price. any help would be appreciated

    Thanks
     
  2. sonexpc

    sonexpc

    Joined:
    Mar 31, 2011
    Messages:
    663
    I don't use visual basic ... but only can give you some program idea....

    on the cart screen it should have a "check box" hold the id of that item ( id should be the shopping cart id + which row in the cart)

    when the "check box" is click ... and you press "Upadte" button to post..

    you have the the shopping cart id and the item row value to remove it ... then refresh the screen again...
     
  3. DaBeers

    DaBeers

    Joined:
    Oct 30, 2008
    Messages:
    276
    Sonexpc is pretty close. The only thing I can really add is that everything has to be handled by checking for postback. The price should be handled in it's own method that adds the price column of the view.

    GL,
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/993782

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice