摘要: 读XmlDocument document = new XmlDocument();document.Load("Data\\books.xml");List bookList = new List();foreach (XmlElement book in document.DocumentElement.ChildNodes){ string isbn = book.GetAttribute("ISBN").ToString();//属性 string genre = book.GetAttribute("genre").ToSt 阅读全文
posted @ 2013-11-26 17:36 pnljs 阅读(177) 评论(0) 推荐(0) 编辑