怎么用Replace把字符串中的单引号替换成2个单引号imgHead.Replace("'","''" );imgHead.Replace("'","\'\'" );试了试都不行 [解决办法] imgHead=imgHead.Replace("'","''" );我默默的笑了一下