Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DateTime fechaAnterior = null;
- DistritoChart d = null;
- List<DistritoChart> lista = new List<DistritoChart>();
- for (CADA FILA)
- {
- if (fechaAnterior == null || fechaAnterior != fila[FECHA])
- {
- d = new DistritoChart();
- d.Fecha = fila[FECHA]
- lista.Add(d);
- }
- Switch(fila[Distrito]
- {
- Distrito1:
- {
- d.DistritoNombre1 = Fila[Distrito];
- d.DistritoNombre2 = Fila[Pozos_Programados];
- break;
- }
- ...
- }
- }
Add Comment
Please, Sign In to add comment