摘要: 转:记事本作为数据库:写入、读取数据using System.IO;//写入StreamWriter sw = new StreamWriter( @"C:\temp123.txt");sw.WriteLine("----------------hello----------------");sw.WriteLine("内容");sw.WriteLine("----------------hello----------------");sw.Flush();sw.Close();//读取System.IO.Stre 阅读全文
posted @ 2012-11-22 23:17 Mr zhao 阅读(382) 评论(0) 推荐(0) 编辑