I\'m using C# and .NET 3.5. I need to generate and store some T-SQL insert statements which will be executed later on a remote server.
For example, I have an array o
Fix your replace quotes function this way:
void string replaceQuotes(string value) { string tmp = value; tmp = tmp.Replace("'", "''"); return tmp; }
Cheers!