I am working on eshop project, Once i click a specific product item, it will add it to the cart, and there the user have the right to change the quantity.
As you know i am doing a while loop to show all items added to my cart, but i am not able to get the new quantity updated by the user:
while (objDataReader.Read()== true)
szPID = objDataReader.GetString("PID");
intQUANTITY = objDataReader.GetInt32("QUANTITY");
TextBox AddQtytxt = new TextBox();
AddQtytxt.Text = intQUANTITY.ToString();
AddQtytxt.Attributes["onchange"] = "AddQtytxt_TextChanged('" +szPID+ "','"
i KNOW THAT THE PROBLEM IS if i use AddQtytxt.AutoPostBack = true; it is recreating the textbox from scratch, but can you let me know a way to do what i need,
Thx in advance for ur support,
using Visual Studio .net (C#)