Hi,
Using ASP.NET 2.0 C# I am looking to get some idea how to reduce the quantity as the user buys a product. In my database i have a quantity column and when the user buys an amount of a certain product i would like it to deduct this from my quantity available. Does anyone have any hints where to start with this?
I am certain i am starting in the right place with:
protected void btnBuyNow_Click(object sender, EventArgs e)
{
//I NEED CODE HERE TO DEDUCT VALUE??
Response.Redirect("Order.aspx");
}
Thanks