sql_qurery="INSERT INTO tickets (ticket,date_time,machine_id) VALUES ("",'test string',"value test 2")"
sql1.ExecNonQuery(sql_qurery)
where ticket is auto increment.
When I do the query manually by SQL on the server is working fine.
Is not working for me when I try to pass an empty value by my app.
I passing empty because is autoincrement.