sqlQuery = "INSERT INTO community_market" +
"VALUES (" + a.transaction_id + ",'" + a.community_name + "'," +
a.community_id + ",'" + a.item_name + "'," +
a.item_quantity + "," + a.price + ");";
This is the query I am trying to run, the error I get is:
SqliteSyntaxException: near "1": syntax error Mono.Data.SqliteClient.SqliteCommand.GetNextStatement (IntPtr pzStart, System.IntPtr& pzTail, System.IntPtr& pStmt) Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior) Mono.Data.SqliteClient.SqliteCommand.ExecuteDbDataReader (CommandBehavior behavior) System.Data.Common.DbCommand.ExecuteReader () System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader ()
Could use some help