//----------------------------------------------------------------------------------- // Actualiza Registros //----------------------------------------------------------------------------------- private void ActualizaRegistro() { string Rta = string.Empty; try { Rta = NacfRTRt_Reparotributario.Editar(this.txtRTRperiodo.Text, this.txtRTRfecha.Text, this.txtRTRresponsable.Text, this.cb1.Checked, this.txtRTRcodigo.Text); if (Rta.Equals("OK")) { this.MensajeOk("Regsitro Actualizado Correctamente"); } else { this.MensajeError("Error al Actualizar Registro "); } } catch (Exception ex) { MessageBox.Show(ex.Message + ex.StackTrace); } }
//----------------------------------------------------------------------------------- // Actualiza Registros //----------------------------------------------------------------------------------- private void ActualizaRegistro() { string Rta = string.Empty; try { Rta = NacfRTRt_Reparotributario.Editar(this.txtRTRperiodo.Text, this.dtRTRfecha.Text, this.txtRTRresponsable.Text, this.txtRTRestado.Checked, this.txtRTRcodigo.Text); //Rta = NacfACFp_Activo_Fijo.Editar("1", "1", "1", "1", "1", "1", "2", DateTime.Today.ToString(), "1", this.txtACFdescripcion.Text, DateTime.Today.ToString(), DateTime.Today.ToString(), "0", "0", "0.00", "0", "0", "0", "", "0", "", "", "", "", "", "", "0.00", "0.00", "", "", "1", "", "1", "", "", "", DateTime.Today.ToString(), "1", "", "1", "1", "1", DateTime.Today.ToString(), "1"); if (Rta.Equals("OK")) { this.MensajeOk("Regsitro Editado Correctamente"); } else { this.MensajeError("Error al Actualizar Registro " + Rta); } } catch (Exception ex) { MessageBox.Show(ex.Message + ex.StackTrace); } }