private async void bntAgregarOfrenda_click(object sender, EventArgs e) { try { var abon1 = "Abono"; var retir1 = "Retiro"; var fecha = txtFechaOfrenda.Date.ToString("yyyy/M/d"); id_servidor = itemsedc; var concepto = txtConcepto.Text.ToString(); abono = float.Parse(txtAbono.Text.ToString()); retiro = float.Parse(txtRetiro.Text.ToString()); UseManager manager = new UseManager(); manager.registrarOfrenda(operacion, id_servidor, fecha, concepto, abono, retiro); await DisplayAlert("Registro", "Registro Exitoso", "Aceptar"); txtConcepto.Text = ""; txtAbono.Text = "0.00"; txtRetiro.Text = "0.00"; await Navigation.PushAsync(new MenuOfrenda(servidor, acceso, usuario)); } catch (Exception e1) { } }