Hey guys, I'm getting this error (see title)
I'm using C# by the way.

string StrQuery = @"INSERT INTO Test VALUES (" +
dataGridView1.Rows[i].Cells["Column1"].Value + ", " +
dataGridView1.Rows[i].Cells["Column2"].Value + ", " +
dataGridView1.Rows[i].Cells["Column3"].Value + ", " +
dataGridView1.Rows[i].Cells["Column4"].Value + ", " +
dataGridView1.Rows[i].Cells["Column5"].Value + ");";

That would then be my query. I can't see a 16 anywhere in my query code. No
clue whats going on. I've been playing around with this now for about a
week. I'm like 90% finished with the program lol.

If anyway can help would be awesome.



--
View this message in context: 
http://sqlite.1065341.n5.nabble.com/SQLite-error-near-16-syntax-error-tp67086.html
Sent from the SQLite mailing list archive at Nabble.com.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to