Introduction to UltraLite.NET development tutorial

This tutorial guides you through the process of building an UltraLite application using Microsoft Visual Studio. It uses the ADO.NET interface provided by the iAnywhere.Data.UltraLite namespace.

This tutorial contains code for a Visual Basic application and a Visual C# application.

Competencies and experience

This tutorial assumes the following:

  • You are familiar with the C# programming language or the Visual Basic programming language.

  • You have Microsoft Visual Studio installed on your computer and you are familiar with using Visual Studio. This tutorial is tested using Visual Studio 2008 and may refer to Visual Studio actions or procedures that may be slightly different in other versions of Visual Studio.

  • You know how to create an UltraLite database using the UltraLite plug-in for Sybase Central.

    See Create a database with the Create Database Wizard.

Goals

The goal for the tutorial is to gain competence and familiarity with the process of developing UltraLite applications in the Visual Studio environment.

Installation note

If you install UltraLite software on a Windows computer that already has Visual Studio installed, the UltraLite installation process detects the presence of Visual Studio and performs the necessary integration steps. If you install Visual Studio after installing UltraLite, or install a new version of Visual Studio, the process to integrate UltraLite with Visual Studio must be performed manually at a command prompt as follows:

  • Ensure Visual Studio is not running.

  • For Visual Studio 2005 or later, run installULNet.exe from the folder named install-dir\UltraLite\UltraLite.NET\Assembly\v2\.