protected void DropDownList_TallaProducto_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (DropDownList_TallaProducto.SelectedIndex <= 0)
        {
            Cargar_DropDownList_Vacio(DropDownList_Proveedor);
            Cargar_DropDownList_Vacio(DropDownList_Factura);

            TextBox_CantidadProducto.Text = "";

            Label_CantidadMax.Text = "0";

            Label_CantidadDisponible.Text = "0";

            RangeValidator_TextBox_CantidadProducto.MaximumValue = "0";
            RangeValidator_TextBox_CantidadProducto.MinimumValue = "0";
        }
        else
        {
            Entrega _entrega = new Entrega(Session["idEmpresa"].ToString(), Session["USU_LOG"].ToString());

            Decimal ID_EMPRESA = Convert.ToDecimal(HiddenField_ID_EMPRESA.Value);
            String ID_CIUDAD = HiddenField_ID_CIUDAD.Value;
            Decimal ID_PRODUCTO = Convert.ToDecimal(HiddenField_ID_PRODUCTO_SELECCIONADO.Value);
            DataTable tablaProveedores = _entrega.ObtenerProveedoresPorProductoCiudadEmpresaYTalla(ID_EMPRESA, ID_CIUDAD, ID_PRODUCTO, DropDownList_TallaProducto.SelectedValue);

            Cargar_DropDownList_Proveedor(DropDownList_Proveedor, tablaProveedores);

            Cargar_DropDownList_Vacio(DropDownList_Factura);

            TextBox_CantidadProducto.Text = "";

            Label_CantidadMax.Text = "0";

            Label_CantidadDisponible.Text = "0";

            RangeValidator_TextBox_CantidadProducto.MaximumValue = "0";
            RangeValidator_TextBox_CantidadProducto.MinimumValue = "0";
        }
    }
    protected void DropDownList_TallaEquipos_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (DropDownList_TallaEquipos.SelectedIndex <= 0)
        {
            Cargar_DropDownList_Vacio(DropDownList_ProveedorEquipos);
            Cargar_DropDownList_Vacio(DropDownList_FacturaEquipos);

            Label_CantidadMaxEquipos.Text = "0";

            Label_CantidadDisponibleEquipos.Text = "0";

            GridView_SeleccionarEquipos.DataSource = null;
            GridView_SeleccionarEquipos.DataBind();
        }
        else
        {
            Entrega _entrega = new Entrega(Session["idEmpresa"].ToString(), Session["USU_LOG"].ToString());

            Decimal ID_EMPRESA = Convert.ToDecimal(HiddenField_ID_EMPRESA.Value);
            String ID_CIUDAD = HiddenField_ID_CIUDAD.Value;
            Decimal ID_PRODUCTO = Convert.ToDecimal(HiddenField_ID_PRODUCTO_SELECCIONADO_EQUIPOS.Value);

            DataTable tablaProveedores = _entrega.ObtenerProveedoresPorProductoCiudadEmpresaYTalla(ID_EMPRESA, ID_CIUDAD, ID_PRODUCTO, DropDownList_TallaEquipos.SelectedValue);

            Cargar_DropDownList_Proveedor(DropDownList_ProveedorEquipos, tablaProveedores);

            Cargar_DropDownList_Vacio(DropDownList_FacturaEquipos);

            Label_CantidadMaxEquipos.Text = "0";

            Label_CantidadDisponibleEquipos.Text = "0";

            GridView_SeleccionarEquipos.DataSource = null;
            GridView_SeleccionarEquipos.DataBind();
        }
    }