XmlShow.Save("ShowText.xml"); XmlShow.Load("ShowText1.xml"); 
-------------------
检查你的目录下存在ShowText.xml

解决方案 »

  1.   

    存在啊
    未能找到文件“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ShowText1.xml”。
     我的文件在E:\net\Msn\ShowText1.xml
       
      

  2.   

    用绝对路径
    XmlShow.Load(@"E:\net\Msn\ShowText1.xml"); 默认的他是系统调试路径.
      

  3.   

    OK 了
      谢谢
        你学c#多久了
            有什么好的教程啊
               现在学的没头脑了,好象懂了点但是有觉得什么都不会!!!
      

  4.   

    路径不对 采用绝对路径(例如C:\\Documents and Settings\\user\\My Documents\\ShowText1.xml")或者相对路径(application.startup+"ShowText1.xml")