daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (dsProgramas.Tables[0].Rows.Count > 0)
  2.                {
  3.                    foreach (DataRow fila in dsProgramas.Tables[0].Rows)
  4.                    {
  5.                        programa.Distrito.Nombre = fila["distrito"].ToString();
  6.                        programa.Workgroup.Nombre = fila["equipo"].ToString();
  7.                        programa.Programadas = fila["Rutinas_Programadas"].ToString() != "" ? int.Parse(fila["Rutinas_Programadas"].ToString()) : 0;
  8.                        programa.ProgramadasRealizadas = fila["Realizadas"].ToString() != "" ? int.Parse(fila["Realizadas"].ToString()) : 0;
  9.                        programa.ProgramadasNoRealizadas = fila["No_Realizadas"].ToString()!= "" ? int.Parse(fila["No_Realizadas"].ToString()): 0;
  10.                        programas.Add(programa);
  11.                    }
  12.                }
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