コード例 #1
0
ファイル: DxTableOrder.cs プロジェクト: jeffmun/Research2013
 public DxTableOrder(DxTableSettings settings, List <string> myvars)
 {
     list_settings = new List <DxTableSettings>()
     {
         settings
     };
     vars = myvars;
     Initialize();
 }
コード例 #2
0
 public void PrepareBatch(DxTableBatch batch, DxTableSettings settings)
 {
     if (batch.tables.Count > 0)
     {
         batch.maxCol = settings.maxCol;
         batch.maxRow = settings.maxRow;
         batch.layout = settings.layout;
         foreach (DxTable table in batch.tables)
         {
             //do anything?
         }
     }
 }
コード例 #3
0
ファイル: DxTableBatch.cs プロジェクト: jeffmun/Research2013
        public DxTableBatch(DxCrosstabsSettings mysettings, DataTable dt)
        {
            Initialize();
            _tblsettings = (DxTableSettings)mysettings;
            outputtype   = DxOutputtype.Crosstabs;
            layout       = mysettings.layout;

            if (mysettings.pivot_rows.Count > 0)
            {
                vars.AddRange(mysettings.pivot_rows);
            }
            if (mysettings.pivot_cols.Count > 0)
            {
                vars.AddRange(mysettings.pivot_cols);
            }
            if (mysettings.pivot_cells.Count > 0)
            {
                vars.AddRange(mysettings.pivot_cells);
            }

            DxCrosstab crosstab = new DxCrosstab(mysettings, dt);

            tables.Add(crosstab);
        }