private void LlenarGrilla()
        {
            try
            {
                var BL = new tb_cp_comercialcabBL();
                var BE = new tb_cp_comercialcab();

                if (cboVendedor.Enabled)
                {
                    if ((cboVendedor.SelectedValue != null))
                    {
                        BE.vendedorid = cboVendedor.SelectedValue.ToString();
                    }
                }
                if (Fechaini.Enabled)
                {
                }
                if (txtEstilo.Enabled)
                {
                }

                pTabla = BL.GetAll(VariablesPublicas.EmpresaID.ToString(), BE).Tables[0];
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }