O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Updating data in a SQLite database

Apart from inserting data to a table, it is often necessary to update values. Of course, such an operation is also supported in the case of UWP applications using a SQLite database. In this recipe, you will learn how to achieve this goal.

As an example, you will modify the project from the previous recipe by allowing a user to add and edit entries. So, the application will contain almost all the features necessary to become a real offline blog, in which data is stored in the local database.

Getting ready

To step through this recipe, you need the project from the previous recipe.

How to do it...

To modify the preceding example to allow a user to add or edit data of entries, perform the following steps:

  1. Modify the code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required