Example #1
0
 public void grabar(
     string fechaSintomologia,
     string idSintomologia       = "0",
     string idPaciente           = "0",
     List <DataTable> dtSintomas = null)
 {
     try
     {
         ClsDb db = new ClsDb();
         //Nombres de cada TPV que se enviara
         string[] nombreTPV = { "@PtpvSintomas", "@PtpvOtros" };
         db.ejecutarSPTPV("SPIuSintomatologia",
                          null,
                          dtSintomas,
                          nombreTPV,
                          db.parametro("PidSintomatologia", idSintomologia),
                          db.parametro("@PFechaSintomologia", fechaSintomologia),
                          db.parametro("@pidPaciente", idPaciente)
                          );
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }