摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;using System.Xml;u 阅读全文
posted @ 2009-08-25 17:40
GT_Andy
阅读(407)
评论(0)
推荐(0)
摘要:
xml文件格式?xmlversion="1.0"? dbGuest User Nameuid="d"ew/Name Citydsa/City Emaileq/Email /User /dbGuest 操作方式创建XML文件privatevoidbtnCreateXml_Click(objectsender,System.EventArgse) { //创建XML文档对象 System.Xml.XmlDocumentxmldoc=newSystem.Xml.XmlDocument(); //创建xml声明节点 System.Xml.XmlNo 阅读全文
posted @ 2009-08-25 13:07
GT_Andy
阅读(247)
评论(0)
推荐(0)
摘要:
已知有一个XML文件(bookstore.xml)如下:?xml version="1.0" encoding="gb2312"?bookstore book genre="fantasy" ISBN="2-3631-4" titleOberon's Legacy/title authorCorets, Eva/author price5.95/price /book/bookstore1、往bookstore节点中插入一个book节点: XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load("b 阅读全文
posted @ 2009-08-25 13:06
GT_Andy
阅读(306)
评论(0)
推荐(0)