daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DateTime fechaAnterior = null;
  2. DistritoChart d = null;
  3. List<DistritoChart> lista = new List<DistritoChart>();
  4.  
  5. for (CADA FILA)
  6. {
  7.     if (fechaAnterior == null || fechaAnterior != fila[FECHA])
  8.     {
  9.         d = new DistritoChart();
  10.         d.Fecha = fila[FECHA]
  11.         lista.Add(d);
  12.     }
  13.  
  14.     Switch(fila[Distrito]
  15.     {
  16.         Distrito1:
  17.         {
  18.             d.DistritoNombre1 = Fila[Distrito];
  19.             d.DistritoNombre2 = Fila[Pozos_Programados];
  20.             break;
  21.         }
  22.         ...
  23.     }
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top