Hi,
Here is your code:
SqlCommand cmd1 = new SqlCommand("UPDATE AddedItem SET Quantity=st1", con);
But it should be
SqlCommand cmd1 = new SqlCommand("UPDATE AddedItem SET Quantity="+st1, con);
Hope this helps
[Edit] added pre tags and removed superfluous line breaks