/// <summary> /// Asigna el objeto principal al origen de datos /// <returns>void</returns> /// </summary> protected override void RefreshMainData() { _original_table = new DataTable(); CustomAdapter custom = new CustomAdapter(); custom.FillFromReader(_original_table, _reader); _pivoted_table = PivotTable.GetDataTable(_original_table); Precios_Tabla.DataSource = _pivoted_table; }