日期:2014-05-18 浏览次数:20777 次
public string GetPath() { s = "F:\\社教网\\ZbNWP\\Email\\UploadFj\\dddd\\2012-3-21\\"; s = s.Replace(@"\",@"\\");//双斜杠替换为三斜杠 return s; }
------解决方案--------------------
string path="F:\\社教网\\ZbNWP\\Email\\UploadFj\\dddd\\2012-3-21\\"; this.ltX.Text = "strX=\"" + path + "\"";