I have created a SQLite database in C# and i used that query to create a table.
string q = "create table mains ( id int IDENTITY, desc varchar(20), PRIMARY KEY(id) )";
ExecuteQuery(q);
And i tried adding a record like that :
string txtSQLQuery = "insert into mains (desc) values ('" + textBox1.Text + "')";
ExecuteQuery(txtSQLQuery);
I just added a desc and not ID , i guess it should auto increment the id field but it does not.
Instead it adds the desc and the the ID field is empty every time i add a new record
EDIT :
i tried using :
id int PRIMARY KEY AUTOINCREMENT
But got Error :
SQLite.SQLiteException: near "AUTOINCREMENT":
EDIT 2 :
I get that when i load the records :

There are no Numbers in the ID field at all.
try
Taken from sqlite.org
SQLFiddle example
Edit
As an alternative try executing