I\'m generating some sql insert statements from a bunch of text files.
These text files are generally user input data. I would like to sanitize this data so that it\
There is only a single character you have to escape: ansi 0x27, aka the single quote:
safeString = unsafeString.Replace("'","''");