Contents Index Lesson 4: Insert, update, and delete data Understanding UltraLite Development

UltraLite.NET User's Guide
  Tutorial: Visual Studio Application

Lesson 5: Build and deploy your application


Deploy and run your application

  1. Build the solution.

    Ensure that your application builds without errors.

  2. Select Debug > Start.

    This builds an executable file containing your application and deploys it to the Pocket PC emulator. The process may take some time, especially if it must deploy the .NET Compact Framework before running the application.

  3. The first time you run the application, it should display the following text in a message box:

    Connected to a new database.

    Subsequent times, it displays the following text in a message box:

    Connected to an existing database.
Deployment checklist 

If errrors are reported, you may wish to check that your deployment was completed successfully. For example:

Test your application

  1. Insert data into the database.

    Enter a name in the text box and click Insert. The name should now appear in the listbox.

  2. Update data in the database.

    Select a name from the listbox. Enter a new name in the text box. Click Update. The new name should now appear in place of the old name in the listbox.

  3. Delete data from the database.

You have now written, built, and tested an UltraLite.NET application.

This completes the tutorial.


Contents Index Lesson 4: Insert, update, and delete data Understanding UltraLite Development