StringBuilder转String解决方法

StringBuilder转StringStringBuilder temptostring 以后原本的值Data SourceYRKB3RFHNEQCL1F\\SQLEXPRES

StringBuilder转String
StringBuilder temp;

tostring 以后

原本的值Data Source=YRKB3RFHNEQCL1F\\SQLEXPRESS;Initial Catalog=Ordering;Integrated Security=True
变成了Data Source=YRKB3RFHNEQCL1F\\\\SQLEXPRESS;Initial Catalog=Ordering;Integrated Security=True

怎么办
[解决办法]
其实是正确的。

你在调试器里面看到 \\ 其实就是 \