Example #1
0
        public void actualizardatagriew2(string encab)
        {
            DataTable dt = mo.consultaLogica4(encab);

            Dgb_detalleProductosP.DataSource = dt;
            int head = 0;

            while (head < mo.contarCampos(tabla2))
            {
                Dgb_detalleProductosP.Columns[head].HeaderText = aliasC[head];
                head++;
            }
        }