Im trying to update a number column of a MS Access (2000 or XP) database using VB.Net DataAdapter. The form has a datagrid binded to the created datasets datatable and when I create a new row in the datagrid and run the update method of the dataadapter, for the binded datatable
(da.Update (ds, "testtbl")), an error is shown displaying "Syntax Error in INSERT INTO statement".
If i remove the number column from the insert statement, and its relevant parameter, everything works fine, but with number, of any type (double, currency, integer...), this error is displayed.
I also tried this, just using textboxes binded to the datatables columns but the same error is shown. This error does not occur if i use any other database, such as oracle.
Does anyone knows if this is a bug of the jet engine for MS Access, or if im doing something wrong (very difficult, because the only code I do is the fill and update method call) and how can I solve this problem?
Thank you for your help.
(da.Update (ds, "testtbl")), an error is shown displaying "Syntax Error in INSERT INTO statement".
If i remove the number column from the insert statement, and its relevant parameter, everything works fine, but with number, of any type (double, currency, integer...), this error is displayed.
I also tried this, just using textboxes binded to the datatables columns but the same error is shown. This error does not occur if i use any other database, such as oracle.
Does anyone knows if this is a bug of the jet engine for MS Access, or if im doing something wrong (very difficult, because the only code I do is the fill and update method call) and how can I solve this problem?
Thank you for your help.