在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
//引用using using System.IO; using System.Text; //写入方法 public void writeToHtml(string fileName, string path, string content) { string fileAndName = path + "/" + fileName; using (FileStream fs = new FileStream(fileAndName, FileMode.Create)) { using (StreamWriter w = new StreamWriter(fs, Encoding.UTF8)) { w.WriteLine(content); } } }
|
请发表评论