Ensuring Database Updates on Form Closure: Troubleshooting for Mac.

Sarfaraz Sable 20 Reputation points
2024-05-06T12:03:23.94+00:00

When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need assistance in ensuring that my application adds details to the database even when it is closed, particularly for Mac

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,977 questions
{count} votes