![]() |
DataAdapter syntax error
I having a bit of a trouble using the update method of the DataAdapter no matter what data i put into the dataset whenever i call that method on one of my tables i get an syntax error eventhough i am using the OleDbCommandBuilder, isn't this meant to generate the correct sql statements?
Here is my code; :
private void button1_Click(object sender, EventArgs e)The following error occurs on the last line: Quote:
|
Through trial and error I discovered the problem was that the database had a field called "size" and after looking that up I realized it was a reserve word, I just changed that and it work.
|
| All times are GMT -5. The time now is 12:33 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC