Hi Federico,
You are working with the source code right?
I found a place in my SQLiteHelper.cs ExecuteNonQuery:
foreach (IDataParameter p in commandParameters)
{
if (p.DbType == DbType.DateTime)
{
p.DbType = DbType.String;
p.Value = ((DateTime)p.Value).ToString("yyyy-MM-dd HH:mm:ss");
}
cmd.Parameters.Add( p );
}
Can you comment that out like this and try it with a new db and see if it solves it?
foreach (IDataParameter p in commandParameters)
{
//if (p.DbType == DbType.DateTime)
//{
// p.DbType = DbType.String;
// p.Value = ((DateTime)p.Value).ToString("yyyy-MM-dd HH:mm:ss");
//}
cmd.Parameters.Add( p );
}
This may have been a needed hack for the old Mono.Data.SqliteClient. I commented it out on my system and it still seems to work ok so maybe that is the cause of the problem since it is changing to string there.
Joe