Hi,
You are adding text boxes to to your table row dynamically, but you are not setting the value to text box.
Perhaps you should add the text to the text box as well.
for (int item=0; item < PossibleAnswer.Length;item++ )
{
row = new TableRow();
cell = new TableCell();
TextBox tx = new TextBox();
tx.ID = "box" + item.ToString();
tx.Text = item.ToString();
cell.Controls.Add(tx);
row.Cells.Add(cell);
table.Rows.Add(row);
a = item + "," + a;
}
Hope this helps.
Regards
Jegan