protected void btnAgregar_Click(object sender, EventArgs e)
    {
        pnlConsulta.Visible           = false;
        pnlAgregar.Visible            = true;
        btnConfAgregar.Visible        = true;
        agregarInsumo.Visible         = true;
        guardarCambiosInsumo.Visible  = true;
        pnlInsumosDisponibles.Visible = false;
        List <DTOInsumoxProducto> lista = new List <DTOInsumoxProducto>();

        grdInsumoXProducto.DataSource = lista;
        grdInsumoXProducto.DataBind();
        Session["ListaInsumosXProducto"] = lista;
        txtNombre.Text = "";
        txtPrecio.Text = "";
        comboBoxTipoProducto.SelectedIndex = -1;
        txtFechaConstruccion.Text          = "";

        try
        {
            txtId.Text = "" + GestorProductos.obtenerSiguienteID();
        }
        catch (Exception ex)
        {
            lblMensaje.Text = ex.Message;
        }

        lblAccion.Text           = " Agregando";
        btnConfElim.Visible      = false;
        btnAgregar.Visible       = true;
        btnConfModificar.Visible = false;
    }