Categories
Technology - Tips

How To Use Sqlite In Windows Forms

How To Use Sqlite In Windows Forms

In this post we will discuss How To Use Sqlite In Windows Forms.We have already discussed about Sqlite here An Introduction of Sqlite.SQLite is a complete database system that has the advantage of requiring almost no setup.

To use it in your windows form application we have to download Binaries from this location. http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki, Download for which version of .Net you working on.

1. Open Your Windows Form Application or Create a New one.

2. Now Right Click on References > Add Reference > Click on Browse > Select Sqlite DLL where you unzipped them.

1-28-2014 8-14-26 PM

3. Now on your form code you just have to call following namespace:

using System.Data.SQLite;