PRAISE PHS
Well-known member
- Joined
- Jun 2, 2011
- Messages
- 58
- Programming Experience
- Beginner
Hi Forumites,
I'm using vb.net 2008. In my app, I have a button for adding item(s) on a list box and also sending the item(s) to my SQL DB. In my DB, I have a field called Availability with a default value of 1( i.e. to show the item is available). So anytime I add an item, the availability is set to 1. Please my challenge now is that when an item is added on the list box, I want to have a button for removing such item from the list box and also from the database( i.e. setting the availability to 0). Pls kindly help me as I'm a newbie.
I'm using vb.net 2008. In my app, I have a button for adding item(s) on a list box and also sending the item(s) to my SQL DB. In my DB, I have a field called Availability with a default value of 1( i.e. to show the item is available). So anytime I add an item, the availability is set to 1. Please my challenge now is that when an item is added on the list box, I want to have a button for removing such item from the list box and also from the database( i.e. setting the availability to 0). Pls kindly help me as I'm a newbie.