WebPage saving dates in DB


I have a code which does a PostgreSQLPreparedStatement. I got the dates from the database written in the WebListBox. Now I want, that if I do some changes in the WebPage, that it will save it in the database. How can I do that ?
Is the Save Button important ?

You’ll need another SQL statement to UPDATE the date.

Typically you implement the double-click event on the listbox which shows a dialog to allow editing a particular row. If the user presses the Save button, you update the listbox and the database.