How to subtract a value from database with a value from text
i'm using vb.net and trying to figure out how to write a sql command to subtract a value from database with a value enter by the user from a textbox?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amitesh VermaRank #2,535 · 552 reputationPosted Aug 5, 2015, 11:30 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 5, 2015, 11:36 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 5, 2015, 11:51 PM EDT
Amitesh VermaRank #2,535 · 552 reputationPosted Aug 5, 2015, 11:52 PM EDT
King Umar106 reputationPosted Aug 5, 2015, 11:49 PM EDT
how if i want to specified the sql command,for example i put a 'WHERE' condition on the sql command like "select Quantity FROM [AddItem] WHERE ='" & TextBox1.Text & " ' "
is this are correct or not ?
King Umar106 reputationPosted Aug 6, 2015, 12:02 AM EDT
:D