摘要:
最简单的: --------写 //content是要写入文本的字符串 //(@txtPath + @"\" + rid + ".txt");要被写入的TXT StreamWriter sw = new StreamWriter(@txtPath + @"\" + rid + ".txt"); sw.WriteLine(content); sw.Close(); ---------读 //folder被读取的文件路径 text = File.ReadAllText(folder, System.Text.Encod 阅读全文
posted @ 2013-12-05 16:07
记性特差
阅读(777)
评论(0)
推荐(0)