Ejemplo n.º 1
0
 private TableCellsType CreateHeaderTableCells()
 {
     var headerTableCells = new TableCellsType();
     headerTableCells.TableCell = new TableCellType[m_fields.Count];
     for (int i = 0; i < m_fields.Count; i++)
     {
         headerTableCells.TableCell[i] = CreateHeaderTableCell(m_fields[i]);
     }
     return headerTableCells;
 }
 private Rdl.TableCellsType CreateHeaderTableCells()
 {
     Rdl.TableCellsType headerTableCells = new Rdl.TableCellsType();
     headerTableCells.TableCell = new Rdl.TableCellType[m_fields.Count]; //Create header cell for each column in DB
     for (int i = 0; i < m_fields.Count; i++)
     {
         if (m_fields[i] != groupByColName)
         {
             headerTableCells.TableCell[i] = CreateHeaderTableCell(m_fields[i]);
         }
     }
     return(headerTableCells);
 }
        private Rdl.TableCellsType CreateTableCells()
        {
            Rdl.TableCellsType tableCells = new Rdl.TableCellsType();

            tableCells.TableCell = new Rdl.TableCellType[m_fields.Count];
            for (int i = 0; i < m_fields.Count; i++)
            {
                if (m_fields[i] != groupByColName)
                {
                    if (i == 0)
                    {
                        tableCells.TableCell[i] = CreateTableCell(m_fields[i], i);
                    }
                    else
                    {
                        tableCells.TableCell[i] = CreateTableCell(m_fields[i], i);
                    }
                }
                //tableCells.TableCell[i] = CreateTableCell(m_fields[i]);
            }
            return(tableCells);
        }