try this
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ToString());
string aSQL = "UPDATE products set quantity=quantity-1" + Request.QueryString["quant"] + "Where Id=" + Request.QueryString["Id"];
or
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ToString());
string aSQL = "UPDATE products set quantity=--quantity" + Request.QueryString["quant"] + "Where Id=" + Request.QueryString["Id"];
the first one is working i have same project library management where after issuing a book i have to reduce quantity by bookid.try and let me know