J
Jeff Gaines
In my efforts at learning ADO.NET I have discovered that it balks at text
fields with single quote marks embedded. The field in question comprises
notes that can contain anything, it is stored as a memo field in Access.
I tried to wrap the whole field in double quotes without success, it still
balked at the first single quote and broke my insert statement.
Is there an easy way to handle this? If not I'll have to write a routine
to strip out single quotes before saving the field.
fields with single quote marks embedded. The field in question comprises
notes that can contain anything, it is stored as a memo field in Access.
I tried to wrap the whole field in double quotes without success, it still
balked at the first single quote and broke my insert statement.
Is there an easy way to handle this? If not I'll have to write a routine
to strip out single quotes before saving the field.