110,532
社区成员
发帖
与我相关
我的任务
分享
StreamReader sr = new StreamReader(@"D:\work\web\CEN\UserWeb\kialison\index.html", System.Text.Encoding.Default);
string asdasd =sr.ToString().Replace("$公司名称$", "日本有限公司");
sr.Close();
System.IO.File.WriteAllText(@"D:\work\web\CEN\UserWeb\kialison\index1.html",asdasd, System.Text.Encoding.Default); //生成htm文件地址