04 2012 档案
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;using System.Xml.XPath;public partial class UpdateNode : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { XmlDocument xmlDoc
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;public partial class LoadXML : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { string xml = "<order id='001'
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;public partial class InsertNode : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { XmlDocument xmlDoc = new XmlDocument(); x
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Linq;using System.IO;namespace Example_Linq2Xml{ public class ContractManager { //文档根元素 static XElement root = null; const string XML_PATH = "data.xml"; static ContractManager() { if (!File.E
阅读全文