Author: guilhermecardoso | Posted on: 4/8/2009 10:26:06 AM | Views : 421

Hi,
 I'm developing a "Shopping Cart" website and i'm having a problem. All my products are stored in Session (with arraylists) so, when i want to fill an GridView i need to do it by behind code.
The gridview has a collum like this:
DataRow myRow = dsTemp.Tables[0].NewRow();
(...)
myRow[2] = "&lt;input runat=\"server\" id=\"Text" + produto[index] + "\" name=\"Text" + produto[index] + "\" type=\"text\" value=\"" + Convert.ToInt32(quantidade[index]) + "\" /> <a href=\"compra.aspx?produtoalterar=" + produto[index] + "\"&gt;Changer<a/>";And it display ...

Go to the complete details ...