public void GUARDARACTUALIZAR() { dgRubroQuincenal.EndEdit(); btnNuevaFila.Focus(); _dtDetalle.AcceptChanges(); var BL = new tb_plla_tab0100BL(); var BE = new tb_plla_tab0100(); BE.codigo = cboTipoPlanilla.SelectedValue.ToString().Trim(); if (BL.QuincenalRubros_InsertUpdate(VariablesPublicas.EmpresaID, BE, _dtDetalle) == true) { seguridadlog(); MessageBox.Show("Los Datos han sido Guardados Correctamente !!!", "Información Del Sistema", MessageBoxButtons.OK, MessageBoxIcon.Information); HABILITARBOTONES(true); HABILITARCONTROLES(true); GRILLARUBROS(); cboTipoPlanilla.Focus(); } }