I am writing a simple stock verification program in vb with oracle backend. I need to get the stock details from the user and need to check if the required qty is available in the stock. If its there then I can place the order. I have made the connection to the database and written the query part. now i need to check if the required qty is available and if ok then when the order button is clicked i need to subtract the ordered qty and update the database, I am unable to complete the updation part. If anyone can help me out here it will be nice 
PS: Attached the code

PS: Attached the code