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.
Sign in to answer this question.
Amitesh VermaPosted Aug 6, 2015, 3:30 AM
King UmarPosted Aug 6, 2015, 4:02 AM
:D
Amitesh VermaPosted Aug 6, 2015, 3:52 AM
Rajeesh MenothPosted Aug 6, 2015, 3:51 AM
King UmarPosted Aug 6, 2015, 3:49 AM
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 ?
Rajeesh MenothPosted Aug 6, 2015, 3:36 AM