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 阅读全文
posted @ 2012-04-22 20:27 微笑de『MY』 阅读(206) 评论(0) 推荐(0) 编辑
摘要: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' 阅读全文
posted @ 2012-04-22 20:27 微笑de『MY』 阅读(124) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2012-04-22 20:26 微笑de『MY』 阅读(237) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2012-04-22 19:51 微笑de『MY』 阅读(205) 评论(0) 推荐(0) 编辑