1.
this.dsConfig = new DataSet();
//使用指定的文件将 XML 架构和数据读入 System.Data.DataSet。
this.dsConfig.ReadXml(System.Windows.Forms.Application.StartupPath + @"Config.xml");
//你懂得
this.dsConfig.WriteXml(System.Windows.Forms.Application.StartupPath + @"Config.xml");