Single quote Problem in C# With MySQL[Solved] by Zahid HossainPosted onJuly 2, 2020July 2, 2020 public static string DoQuotes(string sql) { if (sql == null) return ""; else return sql.Replace("'", "''"); }