I currently have a SqlDataSource
where I have used query builder to join 2 tables (product table and customer order table). The customer order table is composed of ProductID, Totalproduct and Updatedproduct while I joined the ProductQuantity from the Products table.
What I want to do is upon button click it will subtract the total product from the product quantity and update it in the updated product column. Any way or method in which I can have reference to on how to do it?
What i have in mind is something like Insert Into CustomerProducts VALUES(UpdatedProduct) = TotalProduct - ProductQuantity
*** something like this. thank you sirs