like参数替换

this.keytxt.Text.Trim().Replace("'", "''").Replace("[", "[[]").Replace("]", "[]]").Replace("_", "[_]").Replace("%", "[%]")

原文地址:https://www.cnblogs.com/zwei1121/p/2288947.html