V
VB Programmer
In my ASPX page how do I get the .text value of a textbox that is in the
ItemTemplate of a datalist (using HTML)?
The textbox contains the quantity for a shopping cart item.
The textbox is called "txtQty" and the current HTML is this (I need to
replace xxxx with the text value from the textbox):
<A href='UpdateCart.aspx?CartId=<%# DataBinder.Eval(Container.DataItem,
"CartID") %>&Qty=xxxx'><IMG src="Resources/UpdateBtn.jpg" border="0"></A>
Thanks.
ItemTemplate of a datalist (using HTML)?
The textbox contains the quantity for a shopping cart item.
The textbox is called "txtQty" and the current HTML is this (I need to
replace xxxx with the text value from the textbox):
<A href='UpdateCart.aspx?CartId=<%# DataBinder.Eval(Container.DataItem,
"CartID") %>&Qty=xxxx'><IMG src="Resources/UpdateBtn.jpg" border="0"></A>
Thanks.