public static List<Producto> retrieveAll()
        {
            List<Producto> productoList = new List<Producto>();
            SqlDataReader lector = DBAcess.GetDataReader("SELECT * from SQLOVERS.PRODUCTOS WHERE producto_stock>0", "T", new List<SqlParameter>());

            if (lector.HasRows)
            {
                while (lector.Read())
                {
                    Producto producto = new Producto();
                    producto.id = (int)(decimal)lector["producto_id"];
                    producto.nombre = (string)lector["producto_nombre"];
                    producto.millas = (int)(decimal)lector["producto_cantMillas"];
                    producto.stock = (int)(decimal)lector["producto_stock"];

                    productoList.Add(producto);
                }
            }
            return productoList;
        }
 private void comboBoxProducto_SelectedIndexChanged(object sender, EventArgs e)
 {
     this.producto = (Producto)comboBoxProducto.SelectedItem;
     this.millasproducto = this.producto.millas;
     this.numericUpDown_cant.Enabled = true;
     textBoxCostoUnitario.Text = millasproducto.ToString();
     numericUpDown_cant.Value = 0;
     buttonCanjear.Enabled = validarDatosCargados();
 }