首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

在线急等救命!关于创建,导入XML文件,该如何处理

2011-12-29 
在线急等救命!关于创建,导入XML文件我的代码:stringpathNameXML文件路径 XPathDocumentxDocnewXPathD

在线急等救命!关于创建,导入XML文件
我的   代码:
string   pathName   =   "XML   文件路径 ";
XPathDocument   xDoc   =   new   XPathDocument(pathName);     //报错!

错误提示:Could   not   find   a   part   of   the   path   'D:\buildx\schema\dtd\protocol_v2.dtd '.

应该如何解决啊?
在线急等啊!
谢谢啦!

[解决办法]
'D:\\buildx\\schema\\dtd\\protocol_v2.dtd '
路径是不是对的哦```
[解决办法]
Could not find a part of the path
不能找到路径的一部分...

热点排行