Posted on: 5/22/2011 7:42:51 PM | Views : 235

I'm having trouble with the above,
I generate a table in a placeholder with a textbox in each cell, but i do not know how to retrieve the information back once completed.
Any help would be greatly appreciated. Here is what I have so far,
   protected void GenerateGrid() { int tbleRows = Rows; int tbleCols = Columns; Table table = new Table(); PlaceHolder1.Controls.Clear(); PlaceHolder1.Controls.Add(table); for (int i = 0; i < tbleRows; ++i) { TableRow tr = new TableRow(); for (int j = 0; j < tbleCols; ++j) { TableCell tc = new TableCell(); TextBox txtBox = new TextBox(); txtBox.Text = Convert.ToString(_grid[i, j]); txtBox.ID = "row" + i + "col" + j;
            &nbs ...

Go to the complete details ...