Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我手里有一个只有一张表的数据集,我想将它写入当前的 xml 文件。当我编写它时,它会创建一个新表并将其添加到其中而不是覆盖。每次我写它时,它都会将表的数量乘以 2。
Globals.ds.WriteXml(Application.StartupPath + "\\Settings.xml");
如何覆盖到相同的 xml 文件以保存参数?