string a=  Dal.cs1();
          string b = Dal.cs2();

          XmlDocument doc1 = new XmlDocument();
          doc1.LoadXml(a);
          XmlDocument doc2 = new XmlDocument();
          doc2.LoadXml(b);
          XmlNode aaa1 = doc1.SelectSingleNode("//root");
          XmlNode bbb1 = doc2.SelectSingleNode("//root");
          XmlDocument xmlDoc = new XmlDocument();          
          string aa = "<one>" + aaa1.InnerXml + "</one>";
          string bb = "<tow>" + bbb1.InnerXml + "</tow>";
          xmlDoc.LoadXml("<root>" + aa + bb + "</root>");

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2021-04-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案