System.IO.FileStream fs = new System.IO.FileStream(@"D:\book.xml");
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(fs);
fs.Close();
错误 1 “System.IO.FileStream”不包含采用“1”参数的构造函数
应该怎么改 我第一次看XML;请大虾们指导;
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(fs);
fs.Close();
错误 1 “System.IO.FileStream”不包含采用“1”参数的构造函数
应该怎么改 我第一次看XML;请大虾们指导;
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(fs);
fs.Close();
xmlDoc.Load(@"D:\book.xml");