Hey guys i want to execute my SQL statement but im having synatx trouble, can someone help me understand what i doin wrong please?
Thanks, Ash.
publi
You need to add single quotes around the first argument in the SQL Statement.
string sSQL = "INSERT INTO WordDef (Word, Good, Bad, Remove) VALUES ('" + WordArray[WordCount] + "', " + Good + ", " + Bad + ", " + Remove + ")";
Character and Date fields require values to be surrounded with 'single quotes'