vendredi 2 janvier 2015

SQLite error no such column: Net

Well okay, just like quite a few other people I am experiencing the "no such column" error and I just can't fix it...


Here's where it points me to:



public IEnumerable<Task> GetItems ()
{
var tl = new List<Task> ();

lock (locker) {
connection = new SqliteConnection ("Data Source=" + path);
connection.Open ();
using (var contents = connection.CreateCommand ()) {
contents.CommandText = "SELECT [_id], [Name], [Notes], [Net], [Done] from [Items]";
var r = contents.ExecuteReader ();
while (r.Read ()) {
tl.Add (FromReader(r));
}
}
connection.Close ();
}
return tl;
}


And I am pretty sure that's where the error actually is but I just can't fix it... If you guys don't think the error is here go ahead and tell me what else you guys need to see! Any help is very much appreciated!


Aucun commentaire:

Enregistrer un commentaire