public void stkDisponible(string talla, string color)
    {
        string disponible = "";

        DataTable Tablastkdisp;
        tb_me_stockdiariocabBL BL1 = new tb_me_stockdiariocabBL();
        tb_me_stockdiariocab BE1 = new tb_me_stockdiariocab();

        BE1.articid = HdFarticid.Value.ToString();
        BE1.coltall = Equivalencias.Right(cmb_tallaid.SelectedValue.ToString(),2); //talla.ToString();
        BE1.colorid = color.ToString();
        Tablastkdisp = BL1.GetAllStkDisp(Session["ssEmpresaID"].ToString(), BE1).Tables[0];

        if (Tablastkdisp.Rows.Count > 0)
        {
            disponible = Tablastkdisp.Rows[0]["stockdisp"].ToString().Trim();
        }
        else
        {
            disponible = "0";
        }

        txtStkdisp.Text = disponible.ToString();
        validastock();
    }
    void stkDisponible()
    {
        string disponible = "";

            DataTable Tablastkdisp;
            tb_me_stockdiariocabBL BL1 = new tb_me_stockdiariocabBL();
            tb_me_stockdiariocab BE1 = new tb_me_stockdiariocab();

            string talla = HdFtalla.Value.ToString();
            BE1.articid = HdFarticid.Value.ToString();
            BE1.coltall = cmb_tallaid.SelectedItem.ToString().Substring(0, 2);
            BE1.colorid = cmb_colorid.Text.ToString();
            Tablastkdisp = BL1.GetAllStkDisp(Session["ssEmpresaID"].ToString(), BE1).Tables[0];

            if (Tablastkdisp.Rows.Count > 0)
            {
                disponible = Tablastkdisp.Rows[0]["stockdisp"].ToString().Trim();
            }
            else
            {
                disponible = "0";
            }

                txtStkdisp.Text = disponible.ToString();
    }