2015年4月30日
摘要: Code//C#追加文件 StreamWriter sw = File.AppendText(Server.MapPath(".")+"\\myText.txt"); sw.WriteLine("追逐理想"); sw.WriteLine("kzlll"); sw.WriteLine(".NET笔记"... 阅读全文
posted @ 2015-04-30 13:32 LuckyClover90105 阅读(124) 评论(0) 推荐(0) 编辑
摘要: c#读写xml文件已知有一个XML文件(bookstore.xml)如下:Code Oberon's Legacy Corets, Eva 5.95 1、往节点中插入一个节点:CodeXmlDocument xmlDoc=new XmlDocument();xmlDoc.Lo... 阅读全文
posted @ 2015-04-30 13:27 LuckyClover90105 阅读(1106) 评论(0) 推荐(0) 编辑