S
Samuel
Hello again:
I think in the next version of the .NET Framework, OleDbCommandBuilder
should use square brackets when generating commands for column names with
spaces.
UPDATE [My Column] column2 [Column 3] ... ...
Otherwise it throws an OleDbException "Incorrect SQL statement sintax" when
calling dataAdapter.Update();
Maybe other command builders have the same problem.
Column names with spaces are rarely used, but possible.
That's all. Thank you.
Samuel. (from Spain)
I think in the next version of the .NET Framework, OleDbCommandBuilder
should use square brackets when generating commands for column names with
spaces.
UPDATE [My Column] column2 [Column 3] ... ...
Otherwise it throws an OleDbException "Incorrect SQL statement sintax" when
calling dataAdapter.Update();
Maybe other command builders have the same problem.
Column names with spaces are rarely used, but possible.
That's all. Thank you.
Samuel. (from Spain)