TableRowObject Convert(TableRow row) { TableRowObject o = new TableRowObject(); o.AddCellsFromControl(row.Cells); return(o); }
TableRow ConvertToTableRow(TableRowObject o) { TableRow row = new TableRow(); this.panel1.Controls.Add(row); row.CreateTableCellControls(o.TableCells); return(row); }