G
Guest
Hi;
I have a Repeater control where in my code-behind I call:
rptrProducts.DataSource = cart.CartItems;
rptrProducts.DataBind();
And then in the aspx file I have:
<asp:TextBox ID="txtQuantity" Text='<%# Eval("Quantity") %>' runat="server"
Columns="3" />
Which does a great job of getting the quantity into the text box. Is there a
way to have it also get the value the user enters back into
cart.CartItems[ind].Quantity? I can write code to do that - but having it
happen automatically would be better.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
I have a Repeater control where in my code-behind I call:
rptrProducts.DataSource = cart.CartItems;
rptrProducts.DataBind();
And then in the aspx file I have:
<asp:TextBox ID="txtQuantity" Text='<%# Eval("Quantity") %>' runat="server"
Columns="3" />
Which does a great job of getting the quantity into the text box. Is there a
way to have it also get the value the user enters back into
cart.CartItems[ind].Quantity? I can write code to do that - but having it
happen automatically would be better.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm