Author: paragp | Posted on: 2/19/2009 5:39:33 AM | Views : 316

 I am trying to generate a Table dynamically. This is all ok until I try and add an array of TableCell to a row in the table.
 The code is as follows:
 
1 int numRows = 3;
2 int numCells = 2;
3 Table Table1 = new Table();
4
5 TableRow newRow = new TableRow();
6
7 TableCell[] arrayOfTableRowCells =
8 new TableCell[numCells];
9 for (int cellNum = 0; cellNum < numCells; cellNum++)
10 {
11 TableCell tCell = new TableCell();
Go to the complete details ...