c#
kfei2001
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C# 将数据保存进xml文件
XmlDocument xml;string path=Application.StartupPath + "\\功能测试参数.xml";if(System.IO.File.Exists(path)){ xml = new XmlDocument(); doc.Load(path); //加载XML文档}else{ xml = new XmlDocument()转载 2017-10-04 22:43:00 · 2972 阅读 · 0 评论 -
c#怎么把textbox中的内容保存到txt
12345string path = "D:\\log.txt"; using (StreamWriter sw = new StreamWriter(path, true)) { sw.Write("xxxxxxxxxx");转载 2017-10-11 15:33:54 · 12094 阅读 · 1 评论
分享