当前位置: 代码迷 >> WinCE >> Windows Mobile 读取xml有关问题!
  详细解决方案

Windows Mobile 读取xml有关问题!

热度:5   发布时间:2016-04-28 13:11:51.0
Windows Mobile 读取xml问题!!急急急急。。。
C# code
 XmlDocument xmldocument = new XmlDocument();                        try            {                xmldocument.Load(@"XMLFile1.xml");            }            catch (Exception ex)            {                MessageBox.Show(ex.Message);            }//do something.......


我在项目根目录下创建了 XMLFile1.xml 但为什么找不到呢? 新手求帮忙....

------解决方案--------------------
使用全路径试试
------解决方案--------------------
默认路径不是根目录吧
  相关解决方案