示例#1
0
 private void carga_temperaturas()
 {
     if (this.chk_solFrio.Checked || this.chk_solCongelado.Checked || this.chk_solSeco.Checked || this.chk_solMultifrio.Checked || this.chk_solMultifrio.Checked || this.chk_solWays.Checked)
     {
         this.DDL_TEMP.Enabled = true;
         SolicitudBC solicitud = new SolicitudBC();
         DataTable   dt        = solicitud.Obtenertemperaturas(this.chk_solFrio.Checked, this.chk_solCongelado.Checked, this.chk_solSeco.Checked, this.chk_solMultifrio.Checked, this.chk_solWays.Checked);
         utils.CargaDrop(this.DDL_TEMP, "ID", "VALOR", dt);
     }
     else
     {
         this.DDL_TEMP.ClearSelection();
         this.DDL_TEMP.Enabled = false;
     }
 }