示例#1
0
        /// <summary>
        /// Adds a value in the matrix.
        /// </summary>
        /// <param name="columnValues">Array of column values.</param>
        /// <param name="rowValues">Array of row values.</param>
        /// <param name="cellValues">Array of data values.</param>
        /// <param name="dataRowNo">Datasource row index.</param>
        /// <remarks>
        /// See the <see cref="AddValue(object[],object[],object[])"/> method for more details.
        /// </remarks>
        public void AddValue(object[] columnValues, object[] rowValues, object[] cellValues, int dataRowNo)
        {
            MatrixHeaderItem column = Columns.Find(columnValues, true, dataRowNo);
            MatrixHeaderItem row    = Rows.Find(rowValues, true, dataRowNo);

            Cells.AddValue(column.Index, row.Index, cellValues);
        }