Lab Session: Saving data into SQLite: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "In this lab you will modify your app so you can save historical weather data in SQLite.")
 
No edit summary
Line 1: Line 1:
In this lab you will modify your app so you can save historical weather data in SQLite.
In this lab you will modify your app so you can save historical weather data in SQLite.
== Student Outline ==
# Update your initialization code in ''Sub Main'' to create a table in the database, if it doesn't exist already.
# Update your ''btnSave'' click event to instead INSERT records into the table you created in the first step.
# Update your onshow event for ''frmSaves'' so it SELECTs the entries in an array that's used to populate the list.
# Modify your click event for ''lstSaves'' to use the array you populated in the previous step.

Revision as of 06:30, 13 December 2013

In this lab you will modify your app so you can save historical weather data in SQLite.

Student Outline

  1. Update your initialization code in Sub Main to create a table in the database, if it doesn't exist already.
  2. Update your btnSave click event to instead INSERT records into the table you created in the first step.
  3. Update your onshow event for frmSaves so it SELECTs the entries in an array that's used to populate the list.
  4. Modify your click event for lstSaves to use the array you populated in the previous step.