protected void grdRecords_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            InterfazDAL_tticol125 idal = new InterfazDAL_tticol125();
            Ent_tticol125         obj  = new Ent_tticol125();
            string strError            = string.Empty;

            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                //string prin = ((DataRowView)e.Row.DataItem).DataView.Table.Rows[e.Row.RowIndex]["T$PRIN"].ToString();
                string paid = ((DataRowView)e.Row.DataItem).DataView.Table.Rows[e.Row.RowIndex]["T$PAID"].ToString();
                //JC 190821 Actualiza el contador de impresiones cada vez que ingresen
                if (IsPostBack)
                {
                    idal.updateFieldPrint(ref paid, ref strError);
                    if (strError != string.Empty)
                    {
                        OrderError.IsValid = false;
                    }
                }

                var    printed = idal.queryFieldPrint(ref paid, ref strError);
                string prin    = printed.Rows[0]["T$PRIN"].ToString().Trim();
                valueprint = prin;
                //obj.prin = idal.Rows[0].["T$PRIN"]

                // ((Button)e.Row.Cells[7].FindControl("btnPrint")).OnClientClick = "printTag(" + FilaSerializada.Trim() + ")";
                //((Button)e.Row.Cells[7].FindControl("btnPrint")).Text = (prin.Trim().Equals("1")
                //    ? _idioma == "INGLES" ? "Print" : "Imprimir" : _idioma == "INGLES" ? "Reprint" : "Reimprimir");

                //Cambia el estado del campo print en la tabla ticol125
                //JC 190821 Actualiza el contador de impresiones cada vez que ingresen
                //if (prin.Trim().Equals("2"))
                //{
                //idal.updateFieldPrint(ref paid, ref strError);
                //if (strError != string.Empty)
                //{
                //    OrderError.IsValid = false;
                //}
                //}
                //JC 190821 Actualiza el contador de impresiones cada vez que ingresen
                if (Convert.ToInt16(valueprint) > 1)
                {
                    ((Button)e.Row.Cells[7].FindControl("btnPrint")).Text = (_idioma == "INGLES" ? "Reprint" : "Reimprimir");
                }
                else
                {
                    ((Button)e.Row.Cells[7].FindControl("btnPrint")).Text = (_idioma == "INGLES" ? "Print" : "Imprimir");
                }
            }
        }