private Rdl.TablixCellsType CreateTableCells() { Rdl.TablixCellsType tableCells = new Rdl.TablixCellsType(); TablixCellType[] cells=new TablixCellType[m_fields.Count]; int i = 0; foreach (var f in m_fields) { cells[i] = CreateTablixCell(i, f.Value); i++; } tableCells.Items = cells; return tableCells; }
private Rdl.TablixCellsType CreateHeaderTableCells() { Rdl.TablixCellsType headerTableCells = new Rdl.TablixCellsType(); TablixCellType[] cells= new Rdl.TablixCellType[m_fields.Count]; int i = 0; foreach (var f in m_fields) { cells[i] = CreateHeaderTableCell(f.Key); i++; } headerTableCells.Items = cells; return headerTableCells; }