} //End page_load protected void btnGuardar_Click(object sender, EventArgs e) { try { VOCliente cliente = new VOCliente(int.Parse(lblIdCliente.Text), txtNombre.Text, txtApellido_paterno.Text, txtApellido_materno.Text, txtCorreo.Text, txtTelefono.Text, txtDireccion.Text, lblUrlFoto.InnerText); BLLCliente.Actualizar(cliente); LimpiarFormulario(); Response.Redirect("ListaCliente.aspx"); } catch (Exception ex) { ScriptManager.RegisterClientScriptBlock(this, GetType(), "Mensaje de error", "alert('Se registro un error a realizar la operacion." + ex.Message + "');", true); } }//End btnGuardar